Cant post new photos - getting a Fatal Error

j0ker

Joined: 2002-12-27
Posts: 24
Posted: Wed, 2008-07-23 19:59

After making no changes that I can recall and having this gallery running for quite a while with zero problems, I went to upload some new pictures today and got this error:

Processing status...
******Adding IMG_5526.JPG*****

Fatal error: Call to a member function on a non-object in /export/home/apache2/htdocs/j0ker/shots/util.php on line 2284

This just started happening this last month and I have no idea why. I am logged in as the gallery admin and trying to add pictures to a new folder. When it scans the pictures it will list them all and create some gallery upload.<somelongstringhere> files for each picture. And then it bombs.

Please help?

Thanks.

-j0ker

The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):gallery.j0ker.org/shots
Gallery version:1.5
Apache version:[drunken]/usr/apache2/bin:>./httpd -V
Server version: Apache/2.0.52
Server built: Jan 8 2005 01:51:11
Server's Module Magic Number: 20020903:9
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FCNTL_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/usr/apache2"
-D SUEXEC_BIN="/usr/apache2/bin/suexec"
-D DEFAULT_PIDLOG="/var/run/apache2/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"

PHP version (don't just say PHP 4, please):PHP v4.3.11 is OK.
Graphics Toolkit:
Operating system: SunOS drunken 5.10 Generic sun4u sparc SUNW,UltraSPARC-IIi-Engine

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2008-07-24 12:13

Hello Joker,

would it be possible, that you can upgrade to a newer version?

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
j0ker

Joined: 2002-12-27
Posts: 24
Posted: Thu, 2008-07-24 21:15

Sure, I can upgrade to the latest version of Gallery 1. Do I only need to tar up my ./albums folder and then untar it after I install?

I guess I am still really confused as to why this would just STOP working. I have seen other people with similar issues, but nobody seems to really understand why it broke in the first place.

Any ideas?

Thanks Jens.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2008-07-25 09:38

Your albums folder ist not touched. But a backup is always a good idea.

In most cases a change of PHP or change in the filesystem is the reason.
The reason why i would like you to upgrade is, that i dont want to support outdated versions.
If its working in the new version -> hooray.
If not, i will fix it :-)

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
j0ker

Joined: 2002-12-27
Posts: 24
Posted: Fri, 2008-07-25 18:22

Would you please point me to a link for the process of upgrading from the older version of Gallery v1 to a newer version of Gallery v1. I am super paranoid about losing years of photos and videos.

Thanks!

-j0ker

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2008-07-25 20:19
 
j0ker

Joined: 2002-12-27
Posts: 24
Posted: Sat, 2008-07-26 23:34

I have upgraded to the newest version of Gallery v1, version 1.5.7 and now I am getting this error when trying to post new pictures.

Processing status...

******Adding IMG_5526.JPG*****

Fatal error: Call to a member function on a non-object in /export/home/apache2/htdocs/j0ker/shots/util.php on line 1167

I see it dies in the same util.php page but at a different point.

Now that I have upgraded, do you have any idea why I can not post pictures?

Thanks for your help.

-j0ker

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sun, 2008-07-27 10:25

Hi,

at this point it becomes difficult for me to say what might be the problem.

Would be possible, that i can have access to your Gallery? Via FTP, or SSH.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
j0ker

Joined: 2002-12-27
Posts: 24
Posted: Tue, 2008-09-02 16:34

Hi,
Jens can you please contact me again. I have tried to send you several emails but have gotten no response. I am still having the problem above and can post no new pictures to my site.

I very much appreciate any assistance you can provide!

Thanks!

-j0ker

 
j0ker

Joined: 2002-12-27
Posts: 24
Posted: Tue, 2008-09-30 23:06

This issue is no longer an issue. After looking for help for weeks and getting no where fast, I upgraded (painful on sparc) to Gv2. It is MUCH nicer than Gv1 and I seem to have no issues.

Thanks for any help that was provided but there seems to be no fix known for the issue above.

Tip: Migrate to Gv2!

Thanks to all the gallery developers for making such a great free product!