News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Error Message from Gallery

Started by MaryLouW, March 26, 2008, 08:51:11 PM

Previous topic - Next topic

MaryLouW

This may not be the place to post this but I"m not sure where else it would go.

In the Forum Error Log, I get quite a few error messages.  One is:

Apply Filter: Only show the error messages of this URL  http://pircnet.com/forum/index.php?action=gallery;sa=comment;id=240
Apply Filter: Only show the errors with the same message
8: Undefined offset: 532
File: /var/www/vhosts/pircnet.com/httpdocs/forum/Themes/default/languages/Post.english.php (add_comment sub template - eval?)
Line: 938

Another is:
Apply Filter: Only show the error messages of this URL  http://pircnet.com/forum/index.php?action=gallery;sa=comment;id=240
Apply Filter: Only show the errors with the same message
8: Undefined offset: 533
File: /var/www/vhosts/pircnet.com/httpdocs/forum/Themes/default/languages/Post.english.php (add_comment sub template - eval?)
Line: 939

And one more:
Apply Filter: Only show the error messages of this URL  http://pircnet.com/forum/index.php?action=gallery;sa=edit;id=244
Apply Filter: Only show the errors with the same message
8: Undefined index: gallery_text_oldpicture
File: /var/www/vhosts/pircnet.com/httpdocs/forum/Themes/default/languages/Gallery.english.php (edit_picture sub template - eval?)
Line: 624

Apparently, I've had these ever since I installed the gallery but didn't see them because another mod was generating hundreds of pages of error messages.

What should I do to eliminate these three error messges>

Thank you!

vbgamer45

Fixed the last error the oldpicture one in the latest update for the gallery mod.
http://custom.simplemachines.org/mods/index.php?mod=473
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

MaryLouW

I'm not quite sure what you're telling me.  I am going to guess that you're saying I cannot fix these myself and that you changed the program to fix one of them.  Is that correct (novice here). 

If so, how do I install the updated one?  Do I have to uninstall the one I'm using now?  I hope not because we have lots of images in it.    Can I just ignore the other two errors or is this something you are in the process of fixing?   I guess I need advice on what I need to do.  Thanks!

vbgamer45

You would need to uninstall the old version of the gallery then install the new one. It saves all images and data when you uninstall.

The other two errors not sure what causes them.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

MaryLouW

Okay, on the Package Manager, there are three options, Uninstall, List Files, Delete.  When I uninstall, do I also delete or do I uninstall and then immediately reinstall the newer one?

Since last night, there have been 15 pages of errors generated by the gallery mod.  Only two were the same as the one that was fixed so I'm not sure it's worth updating to eliminate only two errors.  In addition, there are now two new errors:

http://pircnet.com/forum/index.php?action=gallery&sa=comment2
Apply Filter: Only show the errors with the same message
8: Undefined index: comment
File: /var/www/vhosts/pircnet.com/httpdocs/forum/Sources/Gallery.php
Line: 1112

http://pircnet.com/forum/index.php?action=gallery&sa=comment2
Apply Filter: Only show the errors with the same message
8: Undefined index: id
File: /var/www/vhosts/pircnet.com/httpdocs/forum/Sources/Gallery.php
Line: 1113


Will any of the above problems cause my gallery to crash?  Maybe I shouldn't update it until all the errors are fixed?   I'm not sure it's worth the effort to update until a few more of the errors are fixed.  If it won't cause any problems, other than a very long error list, maybe I should leave it alone? 

On another topic - is there a way to indicate when a gallery has a new image posted?

Thanks again.  I really love this gallery and am considering getting the Pro version.  Would it generate these same errors?

vbgamer45

The other two errors I checked the code would only occur if there was an invalid link to the comments page since the picture id and a comment always need to be passed.
Which could be caused by a spam bot.

The errors themselves don't hurt the forum they are considered warnings. and can be cleaned out every so often.


Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

MaryLouW

Those two errors happen each and every time someone makes a comment regarding an image that was posted.  It's not just random, it's every single time.   I know I can just delete them every few days but I still have to scan through hundreds of pages because there may be errors generated by other modules, etc.

Do these errors happen in the Pro version?

vbgamer45

I haven't heard any reports of those errors happening in the pro version.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

MaryLouW

To install the Pro version, would I lose the current galleries or would I just uninstall (not delete) via the package manager?

vbgamer45

You would not loose the current galleries. You would just uninstall the lite edition then install the pro edition.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

MaryLouW

Thank you!  Will have to discuss this with the "banker".

Advertisement: