![]() ![]() |
Sep 11 2004, 03:48 PM
Post
#1
|
|
|
New Member ![]() Group: Members Posts: 9 Joined: 11-September 04 Member No.: 1,698 ![]() |
Hi Dear Admin,
When I want to upload an image (format jpg) I take an error messages like this; The uploaded file is not a valid image. Why can I take this error messages; Here is image properties; 21 KB, jpg format 450 X 250 px I use default settings. Best regards. Arthur This post has been edited by Arthur: Sep 11 2004, 03:49 PM |
|
|
|
Sep 11 2004, 03:55 PM
Post
#2
|
|
![]() Boss, my code's compiling (xkcd) Group: Admins Posts: 10,440 Joined: 19-September 01 Member No.: 1 ![]() |
Hi Arthur,
Could you possibly attach the image here so I can try uploading it from my end. I had only one such case during testing with a PNG image that would not be recognized as a valid image by the gallery. -------------------- ![]() ![]() Things that I don't suck at: Photography (flickr, JPG Mag), "Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com |
|
|
|
Sep 11 2004, 04:22 PM
Post
#3
|
|
|
New Member ![]() Group: Members Posts: 9 Joined: 11-September 04 Member No.: 1,698 ![]() |
Hi Dear Sir;
Here is file; And I trying to translate english.php file to turkish.php. When I finished , I send to you. Best regards.
Attached image(s)
|
|
|
|
Sep 11 2004, 08:05 PM
Post
#4
|
|
![]() pro baller Group: Wannabe Mods Posts: 595 Joined: 23-October 02 From: Bahrain Member No.: 291 ![]() |
see if the settings in the ACP are changed and set to a different size or resolution, im not a expert bt just a guess
-------------------- |
|
|
|
Sep 11 2004, 09:35 PM
Post
#5
|
|
|
New Member ![]() Group: Members Posts: 9 Joined: 11-September 04 Member No.: 1,698 ![]() |
No, I using default settings...
|
|
|
|
Sep 11 2004, 09:42 PM
Post
#6
|
|
![]() Boss, my code's compiling (xkcd) Group: Admins Posts: 10,440 Joined: 19-September 01 Member No.: 1 ![]() |
Hi Arthur,
I was able to upload it to http://cyberiapc.com/zenith_demo/index.php Could you post your gallery's URL here or PM it to me so I can try it out for myself? If you could create a temporary admin account for me to check your Admin CP settings then that would be good too. -------------------- ![]() ![]() Things that I don't suck at: Photography (flickr, JPG Mag), "Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com |
|
|
|
Sep 11 2004, 10:21 PM
Post
#7
|
|
|
New Member ![]() Group: Members Posts: 9 Joined: 11-September 04 Member No.: 1,698 ![]() |
Dear Admin,
I send PM. Best regards.. |
|
|
|
Sep 11 2004, 10:30 PM
Post
#8
|
|
![]() Boss, my code's compiling (xkcd) Group: Admins Posts: 10,440 Joined: 19-September 01 Member No.: 1 ![]() |
Open add.php and find
CODE //003 -- valid image check $usize = @getimagesize($is_at); //get dimensions of image Temporarily replace it with CODE //003 -- valid image check $usize = getimagesize($is_at); //get dimensions of image echo $is_at; The image won't be added, but post the error/warning that you now get. A base dir restriction is most likely set in your php.ini file, which is not allowing files to be written to a temporary location on the server. Do you have full control over the server? -------------------- ![]() ![]() Things that I don't suck at: Photography (flickr, JPG Mag), "Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com |
|
|
|
Sep 11 2004, 10:41 PM
Post
#9
|
|
|
New Member ![]() Group: Members Posts: 9 Joined: 11-September 04 Member No.: 1,698 ![]() |
I don't have full control on server. It's shared hosting account. But I can say this error (on php.ini file) to hosting firms.
Best regards. |
|
|
|
Sep 12 2004, 09:41 AM
Post
#10
|
|
![]() Boss, my code's compiling (xkcd) Group: Admins Posts: 10,440 Joined: 19-September 01 Member No.: 1 ![]() |
What do you get when you replace the code pasted above in add.php and then try to add a picture after uploading the new file?
-------------------- ![]() ![]() Things that I don't suck at: Photography (flickr, JPG Mag), "Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com |
|
|
|
Sep 13 2004, 10:15 AM
Post
#11
|
|
|
New Member ![]() Group: Members Posts: 9 Joined: 11-September 04 Member No.: 1,698 ![]() |
I changed add.php files like yours. But it didn't change. I taken same error.
Best regards. |
|
|
|
Sep 13 2004, 11:00 AM
Post
#12
|
|
![]() Boss, my code's compiling (xkcd) Group: Admins Posts: 10,440 Joined: 19-September 01 Member No.: 1 ![]() |
Did you upload the file after making the change?
Also, I want to point out that the copyright notice cannot be altered in anyway as per the license. Please have it showing the way it was in the original download package. -------------------- ![]() ![]() Things that I don't suck at: Photography (flickr, JPG Mag), "Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com |
|
|
|
Sep 13 2004, 12:50 PM
Post
#13
|
|
|
New Member ![]() Group: Members Posts: 9 Joined: 11-September 04 Member No.: 1,698 ![]() |
Hello Dear Admin,
Your copright notice is like orjinal download package. Sorry for this shortening. Last I want to asking a question. How can I fix Turkish Alfabetical Character problem? For example we use ; ü, ö, ş , ç ,ğ, ı, İ, Ü, Ö, Ğ, Ş, Ç etc. When I write a turkish char, my browser doesn't sense automatically. I used meta tag like this; <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1254"> Where can I put this code on files? Last my hosting firms fixed php.ini files like you said. No upload problem. I waiting your V1.0 version for .gif file. Your script very powerfull. Best regards. This post has been edited by Arthur: Sep 13 2004, 12:52 PM |
|
|
|
Sep 13 2004, 01:17 PM
Post
#14
|
|
![]() Boss, my code's compiling (xkcd) Group: Admins Posts: 10,440 Joined: 19-September 01 Member No.: 1 ![]() |
Thanks Arthur. You can add the content type to the <head></head> section of head.php file.
-------------------- ![]() ![]() Things that I don't suck at: Photography (flickr, JPG Mag), "Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com |
|
|
|
Sep 13 2004, 01:29 PM
Post
#15
|
|
|
New Member ![]() Group: Members Posts: 9 Joined: 11-September 04 Member No.: 1,698 ![]() |
Ok Dear Admin,
Basic but helpfull. I will add to head.php. Best regards.. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 24th May 2013 - 12:12 PM |