"add photos" via URL causes fatal error

sth624

Joined: 2005-07-16
Posts: 5
Posted: Wed, 2006-08-02 18:15

i just installed v1.5.3 on a new server. had been using 1.5 for a while and love it.

I can upload photos fine via "browse" from my local hard drive, but when i try to upload photos via a URL on my server, it finds the photos fine -- But at step two, when I click on "add images," I get this error,

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

******Adding photoname.jpg*****

Fatal error: Call to a member function on a non-object in /home/pitcher/www/www/public/photos/util.php on line 1159

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

line 1159 is: ' $err = $gallery->album->addPhoto( "

info:

gallery is at: www.pitcheronline.com/public/photos
gallery version: 1.5.3
PHP: 4.4.3-dev
Apache version: not sure, but likely very current (ICDSoft is the host)
Graphics Toolkit: ImageMagik
Operating system: Win XP/SP2
Web browser/version (if applicable): Firefox (latest)

from the Gallery Config page:

Apache is not obeying the 'php_value' lines in your .htaccess file. Try entering the following into your web server's httpd.conf file:

<Directory /home/pitcher/www/www/public/photos>
AllowOverride Options FileInfo
</Directory>

If you are running PHP in CGI mode, this message is unavoidable.

thanks for any help!!

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2006-08-02 18:29

Hello,

what is shown when you enable debugging ?

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
sth624

Joined: 2005-07-16
Posts: 5
Posted: Wed, 2006-08-02 18:37

** PROBLEM SOLVED! **

folks, I just found the source of the error -- it's the Google Toolbar in Firefox that causes the error. I tried URL upload via IE6 and it worked fine.

here's the reference if you want to read it:

http://gallery.menalto.com/node/47905

Thats' from back in April 2006 -- and chance there's a fix for this bug?