SMFHacks.com

SMF Gallery Lite => SMF Gallery Lite => Topic started by: BAlGaInTl on June 07, 2007, 04:53:35 pm

Title: Recurring Gallery Lite Error? (Update with new errors)
Post by: BAlGaInTl on June 07, 2007, 04:53:35 pm
I was considering purchasing the Pro version of Gallery for the added features, but I want to make sure that I can get rid of this error first.

My SMF error log is filled with the following error:

Code: [Select]
8: Undefined index: gallery_text_oldpicture
File: /home/xxxxxxx/domains/xxxxxxxx/public_html/xxxxx/Themes/default/languages/Gallery.english.php (eval?)
Line: 621

Any thoughts on what might be causing this?
Title: Re: Recurring Gallery Lite Error?
Post by: SMFHacks on June 07, 2007, 05:10:45 pm
You are running an older version of Gallery Lite that erorr is basiclly a missing text string that says "Old Picture" was fixed in a later edition of Gallery Lite
Title: Re: Recurring Gallery Lite Error?
Post by: BAlGaInTl on June 08, 2007, 07:16:47 am
You are running an older version of Gallery Lite that erorr is basiclly a missing text string that says "Old Picture" was fixed in a later edition of Gallery Lite

I've downloaded the latest version from the site.

Is there an easy way to upgrade?
Title: Re: Recurring Gallery Lite Error?
Post by: BAlGaInTl on June 08, 2007, 07:22:50 am
Nevermind... I think I have it.
Title: Re: Recurring Gallery Lite Error?
Post by: BAlGaInTl on June 11, 2007, 12:03:25 pm
Ok....

Well... I'm updated, the gallery is working, but now I'm getting more errors than ever:

Code: [Select]
8: Undefined index: allow_gallery
File: /home/xxxx/domains/xxxx.com/public_html/xxxx/Themes/default/Admin.template.php (eval?)
Line: 645

I get this for EVERY page visited, and my error log is filling up FAST.

Is there a quick fix for this?  What is causing it?
Title: Re: Recurring Gallery Lite Error? (Update with new errors)
Post by: SMFHacks on June 11, 2007, 06:47:45 pm
Sounds like you are missing text strings in Modificaitons.english.php
Title: Re: Recurring Gallery Lite Error? (Update with new errors)
Post by: BAlGaInTl on June 11, 2007, 08:13:55 pm
Sounds like you are missing text strings in Modificaitons.english.php


I've tried uninstalling and re-installing the gallery and I have the same problem.

What text strings should I have in the file?
Title: Re: Recurring Gallery Lite Error? (Update with new errors)
Post by: SMFHacks on June 11, 2007, 08:18:06 pm
Code: [Select]
//Begin SMF Gallery Text Strings
$txt['smfgallery_title'] = 'Gallery For SMF';
$txt['smfgallery_menu'] = 'Gallery';
$txt['smfgallery_version'] = '1.0 Lite';
$txt['smfgallery_admin'] = 'Gallery Configuration';

//Permissions
$txt['permissiongroup_smfgallery'] = 'SMF Gallery';

$txt['permissionname_smfgallery_view'] = 'View SMF Gallery';
$txt['permissionhelp_smfgallery_view'] = 'Allows the user to view the Gallery';
$txt['cannot_smfgallery_view'] = 'You are not allowed to view the Gallery';

$txt['permissionname_smfgallery_add'] = 'Add Picture';
$txt['permissionhelp_smfgallery_add'] = 'Allows the user to add a picture.';
$txt['cannot_smfgallery_add'] = 'You are not allowed to add a picture.';

$txt['permissionname_smfgallery_edit'] = 'Edit own Picture';
$txt['permissionhelp_smfgallery_edit'] = 'Allows the user to edit a picture.';
$txt['cannot_smfgallery_edit'] = 'You are not allowed to edit a picture.';

$txt['permissionname_smfgallery_delete'] = 'Delete own Picture';
$txt['permissionhelp_smfgallery_delete'] = 'Allows the user to delete a picture.';
$txt['cannot_smfgallery_delete'] = 'You are not allowed to delete a picture.';

$txt['permissionname_smfgallery_comment'] = 'Leave Comments';
$txt['permissionhelp_smfgallery_comment'] = 'Allows the user to leave comments on a picture.';
$txt['cannot_smfgallery_comment'] = 'You are not allowed to leave comments.';

$txt['permissionname_smfgallery_report'] = 'Report Pictures/Comments';
$txt['permissionhelp_smfgallery_report'] = 'Allows the user to report pictures and comments.';
$txt['cannot_smfgallery_report'] = 'You are not allowed to report content.';

$txt['permissionname_smfgallery_autoapprove'] = 'Auto Approve Pictures';
$txt['permissionhelp_smfgallery_autoapprove'] = 'Pictures do not need to wait for approval.';

$txt['permissionname_smfgallery_manage'] = 'Manage Gallery';
$txt['permissionhelp_smfgallery_manage'] = 'Allows the user to add/delete/edit all catagories. Delete Comments, Delete Pictures, Approve Pictures';
$txt['cannot_smfgallery_manage'] = 'You are not allowed to manage gallery.';

//END SMF Gallery Text Strings

If it just says allow_gallery and not allow_smfgallery it might be another mod.
Title: Re: Recurring Gallery Lite Error? (Update with new errors)
Post by: BAlGaInTl on June 11, 2007, 10:09:07 pm

If it just says allow_gallery and not allow_smfgallery it might be another mod.

I believe you are correct.  It looks like I may have some orphaned code from the Oldiesman Gallery2 integration I was testing.  I will have to see if I can track it down.