Server Error?

ryanf0401

Joined: 2009-07-28
Posts: 9
Posted: Tue, 2009-07-28 14:55

[IMG]http://i30.tinypic.com/2n8udkk.jpg[/IMG]

I get this error message every time I try to upload a picture now(and I've tried multiple images). There are no error logs in var/logs and here is the location of my gallery http://www.ryanfergerson.com/gallery..

Is there any way I can fix this??

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 26107
Posted: Tue, 2009-07-28 16:41

Only this one image?
Only this method?
Is it a large image?
Do smaller image work?

See if doing a git pull and upgrade helps.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
ryanf0401

Joined: 2009-07-28
Posts: 9
Posted: Tue, 2009-07-28 18:25

1. No I've tried several different images.
2. This is the only method I know how to do.
3. Yes it was a large image, but I just tried a 500x500 and encountered the very same error.
4. Well since the 500x500 pixel image didn't work I tried a 100x100 pixel image also.. still no luck.

I upgraded from 6 to 7, but the same error still occurs.
By the way, I was looking into git pull. Do I have to have shell access to my account for this to work?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 26107
Posted: Tue, 2009-07-28 18:36
Quote:
I was looking into git pull. Do I have to have shell access to my account for this to work?

Yes, and your host must have git installed as well.

Anything in the server logs? FAQ: What is the webserver error log?
All server errors should be logged.
anything in the gallery3/var/logs/ directory?

There is 2 other methods to add items, G2 import and server add. Both modules need activation.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Tue, 2009-07-28 18:36

6 to 7? That sounds like B1 to B2.

Yes, you need shell access for git to work, but you can just click on the Upgrade link Dave posted and grab a zipped up file of the current code base without having to do git.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
ryanf0401

Joined: 2009-07-28
Posts: 9
Posted: Tue, 2009-07-28 19:01

Here are the logs from my web server :
[Tue Jul 28 13:51:18 2009] [error] [client 138.210.160.90] File does not exist: /home/ryanfer1/public_html/404.shtml, referer: http://www.ryanfergerson.com/gallery/index.php/
[Tue Jul 28 13:51:18 2009] [error] [client 138.210.160.90] File does not exist: /home/ryanfer1/public_html/gallery/var/thumbs/creatures/.album.jpg, referer: http://www.ryanfergerson.com/gallery/index.php/

There are still no error logs in var/logs..
I was afraid that I was going to need shell access :( Just Host wants me to pay an extra $20 to inquire it. I might consider it now though.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Tue, 2009-07-28 19:00

Click the Upgrade link in Dave's post. You don't need shell access to get the latest code.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
ryanf0401

Joined: 2009-07-28
Posts: 9
Posted: Tue, 2009-07-28 19:08

I upgraded via browser (/index.php/upgrade).. Is this what you mean?
Or should I do it another way?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Tue, 2009-07-28 19:17

Not even close, well sort of you'll need to do that after you've installed the new files.

JUST CLICK THAT LINK http://codex.gallery2.org/Gallery3:Upgrading <----- That one right there, click it, read, learn :)
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
ryanf0401

Joined: 2009-07-28
Posts: 9
Posted: Wed, 2009-07-29 01:23

Ok i COMPLETELY wiped out my old gallery3 includeing all files and the database too..
I made a new database and installed the latest experimental version of gallery3 "then" upgraded.
I don't know how I'm still getting the very same error.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2009-07-29 04:25

Can you post a link to phpinfo? This link explains how:
FAQ: What information is required when I ask for help in the forums?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live hereFAQ: What information is required when I ask for help in the forums?

 
ryanf0401

Joined: 2009-07-28
Posts: 9
Posted: Wed, 2009-07-29 13:38

Ok I saved the phpinfo as an html file and attached it to this comment.

AttachmentSize
info.html_.txt51.87 KB
 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2009-07-29 13:51

This may or may not help, but try setting a value for upload_tmp_dir

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
ryanf0401

Joined: 2009-07-28
Posts: 9
Posted: Wed, 2009-07-29 14:36

I don't think I can get to the php ini file..
It's located somewhere in /usr/lib but those folders are not in my root directory. I did look around a little more for it though but still couldn't find it. Is there anything else I can do?
By the way I'm going to send a support ticket to find out my rights on the ini file.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2009-07-29 15:45

You might possibly be able to just put a php.ini file in your root gallery directory and have that work. Otherwise I think you'll need to contact your host.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
ryanf0401

Joined: 2009-07-28
Posts: 9
Posted: Wed, 2009-07-29 16:38

Well putting the ini file in the root gallery directory "did" work(changing the value), but I still got the same upload error when I tried to upload again.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2009-07-29 16:47

Took a look at your phpinfo, the path you specified is not a system path, but a URL

it needs to be something like /home/YourUserName/public_html/gallery/var/tmp

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
ryanf0401

Joined: 2009-07-28
Posts: 9
Posted: Wed, 2009-07-29 17:01

Still no luck.. same error
but here's the php info file so you can make sure I did it right.

AttachmentSize
info.html_.txt49.13 KB
 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2009-07-29 17:42

Try putting your phpinfo page into a sub-directory like gallery/modules and see if that value is still filled in there.

Have you done this yet to see if that gives more info?
FAQ: How do I see debug information?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here