CyberiaPC.com Community Forums Main Page
RSS Feeds: Late(st) News | Zenith Picture Gallery | Most Recent Community Topics | Tips, Tricks and Other Useful Stuff

Welcome Guest ( Log In | Register )

 Forum Rules Also hosted on SourceForge and FreshMeat
Reply to this topicStart new topic
> Uploading Error, Error
Arthur
post Sep 11 2004, 03:48 PM
Post #1


New Member
*

Group: Members
Posts: 9
Joined: 11-September 04
Member No.: 1,698

Turkey




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
Go to the top of the page
 
+Quote Post
usr.c
post Sep 11 2004, 03:55 PM
Post #2


Boss, my code's compiling (xkcd)
Group Icon

Group: Admins
Posts: 10,440
Joined: 19-September 01
Member No.: 1

Nothing Selected




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), Skydiving, Splitting atoms, Flying a space shuttle
"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
Go to the top of the page
 
+Quote Post
Arthur
post Sep 11 2004, 04:22 PM
Post #3


New Member
*

Group: Members
Posts: 9
Joined: 11-September 04
Member No.: 1,698

Turkey




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)
Attached Image
 
Go to the top of the page
 
+Quote Post
MD9 Studio
post Sep 11 2004, 08:05 PM
Post #4


pro baller
Group Icon

Group: Wannabe Mods
Posts: 595
Joined: 23-October 02
From: Bahrain
Member No.: 291

Bahrain




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 original.gif


--------------------

^^my online portfolio, if not CPC, i was nothing today, thanks guys!^^
Go to the top of the page
 
+Quote Post
Arthur
post Sep 11 2004, 09:35 PM
Post #5


New Member
*

Group: Members
Posts: 9
Joined: 11-September 04
Member No.: 1,698

Turkey




No, I using default settings...
Go to the top of the page
 
+Quote Post
usr.c
post Sep 11 2004, 09:42 PM
Post #6


Boss, my code's compiling (xkcd)
Group Icon

Group: Admins
Posts: 10,440
Joined: 19-September 01
Member No.: 1

Nothing Selected




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), Skydiving, Splitting atoms, Flying a space shuttle
"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
Go to the top of the page
 
+Quote Post
Arthur
post Sep 11 2004, 10:21 PM
Post #7


New Member
*

Group: Members
Posts: 9
Joined: 11-September 04
Member No.: 1,698

Turkey




Dear Admin,

I send PM.

Best regards..
Go to the top of the page
 
+Quote Post
usr.c
post Sep 11 2004, 10:30 PM
Post #8


Boss, my code's compiling (xkcd)
Group Icon

Group: Admins
Posts: 10,440
Joined: 19-September 01
Member No.: 1

Nothing Selected




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), Skydiving, Splitting atoms, Flying a space shuttle
"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
Go to the top of the page
 
+Quote Post
Arthur
post Sep 11 2004, 10:41 PM
Post #9


New Member
*

Group: Members
Posts: 9
Joined: 11-September 04
Member No.: 1,698

Turkey




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.
Go to the top of the page
 
+Quote Post
usr.c
post Sep 12 2004, 09:41 AM
Post #10


Boss, my code's compiling (xkcd)
Group Icon

Group: Admins
Posts: 10,440
Joined: 19-September 01
Member No.: 1

Nothing Selected




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), Skydiving, Splitting atoms, Flying a space shuttle
"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
Go to the top of the page
 
+Quote Post
Arthur
post Sep 13 2004, 10:15 AM
Post #11


New Member
*

Group: Members
Posts: 9
Joined: 11-September 04
Member No.: 1,698

Turkey




I changed add.php files like yours. But it didn't change. I taken same error.

Best regards.
Go to the top of the page
 
+Quote Post
usr.c
post Sep 13 2004, 11:00 AM
Post #12


Boss, my code's compiling (xkcd)
Group Icon

Group: Admins
Posts: 10,440
Joined: 19-September 01
Member No.: 1

Nothing Selected




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), Skydiving, Splitting atoms, Flying a space shuttle
"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
Go to the top of the page
 
+Quote Post
Arthur
post Sep 13 2004, 12:50 PM
Post #13


New Member
*

Group: Members
Posts: 9
Joined: 11-September 04
Member No.: 1,698

Turkey




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
Go to the top of the page
 
+Quote Post
usr.c
post Sep 13 2004, 01:17 PM
Post #14


Boss, my code's compiling (xkcd)
Group Icon

Group: Admins
Posts: 10,440
Joined: 19-September 01
Member No.: 1

Nothing Selected




Thanks Arthur. You can add the content type to the <head></head> section of head.php file. original.gif


--------------------


Things that I don't suck at: Photography (flickr, JPG Mag), Skydiving, Splitting atoms, Flying a space shuttle
"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
Go to the top of the page
 
+Quote Post
Arthur
post Sep 13 2004, 01:29 PM
Post #15


New Member
*

Group: Members
Posts: 9
Joined: 11-September 04
Member No.: 1,698

Turkey




Ok Dear Admin,

Basic but helpfull. I will add to head.php.

Best regards..
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th May 2013 - 12:12 PM