Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12048
Latest: computerworks
New This Month: 7
New This Week: 1
New Today: 1
Stats
Total Posts: 38467
Total Topics: 6780
Most Online Today: 77
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 33
Total: 33

Author Topic: errors after installation  (Read 1315 times)

0 Members and 1 Guest are viewing this topic.

Offline donk

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 73
    • View Profile
errors after installation
« on: July 08, 2017, 02:22:45 am »
i am getting lots of errors in the error log after installation and there is no menu tab appearing for the gallery

list of some of the errors


Code: [Select]
8: Undefined index: gallery_ftp
Apply Filter: Only show the errors from this file
File: /home/public_html/forum/Sources/Admin.php
Line: 288

8: Undefined index: gallery_text_catpermlist2
Apply Filter: Only show the errors from this file
File: /home/public_html/forum/Sources/Admin.php
Line: 287

8: Undefined index: gallery_filespace
Apply Filter: Only show the errors from this file
File: /home/public_html/forum/Sources/Admin.php
Line: 286


and so on....

i have attached my admin.php any ideas how to fix the issue ???
« Last Edit: July 08, 2017, 02:24:49 am by donk »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14278
    • View Profile
Re: errors after installation
« Reply #1 on: July 08, 2017, 07:53:13 am »
Make sure this text is added to every themes/yourthemename/languages/modifications.*.php file

Code: [Select]
// Begin SMF Gallery Text Strings
$txt['smfgallery_menu'] = 'Gallery';
$txt['smfgallery_admin'] = 'Gallery Configuration';

$txt['gallery_ftp'] = 'Batch Add';
$txt['gallery_text_catpermlist2'] = 'Category Permissions';
$txt['gallery_filespace'] = 'Space Manager';
$txt['gallery_form_approveimages'] = 'Approve Images';
$txt['gallery_form_reportimages'] = 'Reported Images';
$txt['gallery_form_approvecomments'] = 'Approve Comments';
$txt['gallery_form_managecats'] = 'Manage Categories';
$txt['gallery_text_settings'] = 'Settings';
$txt['gallery_text_videosettings'] = 'Video/Audio Settings';
$txt['gallery_txt_moderationcenter'] = 'Moderation Center';
$txt['gallery_txt_imagemoderation'] = 'Image Moderation';
$txt['gallery_txt_commentmoderation'] = 'Comment Moderation';

$txt['gallery_menu_addpic'] = 'Add Picture';
$txt['gallery_menu_addvideo'] = 'Add Video/Audio';
$txt['gallery_menu_search'] = 'Search';
$txt['gallery_menu_stats'] = 'Stats';

//Permissions
$txt['permissiongroup_smfgallery'] = 'SMF Gallery';
$txt['permissiongroup_simple_smfgallery'] = 'Use 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_bulk'] = 'Bulk Uploads';
$txt['permissionhelp_smfgallery_bulk'] = 'Allows the user to use the bulk upload feature.';
$txt['cannot_smfgallery_bulk'] = 'You are not allowed to bulk upload.';

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

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

$txt['permissionname_smfgallery_ratepic'] = 'Rate Picture';
$txt['permissionhelp_smfgallery_ratepic'] = 'Allows the user to rate a picture.';
$txt['cannot_smfgallery_ratepic'] = 'You are not allowed to rate that picture.';

$txt['permissionname_smfgallery_editcomment'] = 'Edit own Comment';
$txt['permissionhelp_smfgallery_editcomment'] = 'Allows the user to edit their own comments.';
$txt['cannot_smfgallery_editcomment'] = 'You are not allowed to edit that comment.';

$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_autocomment'] = 'Auto Approve Comments';
$txt['permissionhelp_smfgallery_autocomment'] = 'Comments do not need to wait for approval.';

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

$txt['permissionname_smfgallery_usergallery'] = 'Personal Gallery';
$txt['permissionhelp_smfgallery_usergallery'] = 'Allows the user to have a personal gallery.';
$txt['cannot_smfgallery_usergallery'] = 'You are not allowed to have a gallery.';

$txt['permissionname_smfgallery_manage'] = 'Admin 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.';

//Permissions
$txt['permissiongroup_smfgalleryvideo'] = 'SMF Gallery Pro Video/Audio';

$txt['permissionname_smfgalleryvideo_add'] = 'Add Video/Audio';
$txt['permissionhelp_smfgalleryvideo_add'] = 'Allows the user to add a video/audio file';
$txt['cannot_smfgalleryvideo_add'] = 'You are not allowed to add a video/audio file.';

// END SMF Gallery Text Strings
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.

Offline donk

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 73
    • View Profile
Re: errors after installation
« Reply #2 on: July 08, 2017, 01:36:07 pm »
i only have that file in my default theme which i have altered but the errors remain.
also sorry for posting the wrong area  ::)

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14278
    • View Profile
Re: errors after installation
« Reply #3 on: July 08, 2017, 02:14:54 pm »
Make sure all those files are modified. That is the only reason why that error would occur was if it was not defined.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.

Offline donk

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 73
    • View Profile
Re: errors after installation
« Reply #4 on: July 08, 2017, 02:34:36 pm »
oh yes i found another filre and that seem to have worked. i still don't have a menu tab for the gallery, i know i should add it to my theme but should it not be displayed in the core theme or do i need to add it there as well ?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14278
    • View Profile
Re: errors after installation
« Reply #5 on: July 08, 2017, 02:36:57 pm »
oh yes i found another filre and that seem to have worked. i still don't have a menu tab for the gallery, i know i should add it to my theme but should it not be displayed in the core theme or do i need to add it there as well ?
What SMF version? If 1.1.x you need to add it to index.template.php file
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.

Offline donk

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 73
    • View Profile
Re: errors after installation
« Reply #6 on: July 08, 2017, 03:42:47 pm »
 version 2.0.14

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14278
    • View Profile
Re: errors after installation
« Reply #7 on: July 08, 2017, 04:54:58 pm »
You wouldn't need to update the template in that case.. It should work for all themes.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.

Offline donk

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 73
    • View Profile
Re: errors after installation
« Reply #8 on: July 09, 2017, 04:00:34 am »
it was listed in the subs.php
anyway i have you menu editor mod installed so i just added a button using the mod and it seems to be working without errors

thank you  :D

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
3264 Views
Last post December 04, 2007, 09:27:54 pm
by SMFHacks
11 Replies
4934 Views
Last post May 10, 2008, 04:30:56 pm
by SMFHacks
0 Replies
2059 Views
Last post December 03, 2008, 06:27:06 pm
by DarkFrost
1 Replies
3275 Views
Last post May 03, 2009, 08:24:15 am
by SMFHacks
11 Replies
3262 Views
Last post December 07, 2010, 07:53:38 pm
by G1

+- Recent Topics

403 forbidden error by SMFHacks
Today at 12:02:53 pm

Can't find version number for Gallery Pro by SMFHacks
January 17, 2018, 08:09:53 am

Problem with uninstall by SMFHacks
January 17, 2018, 08:08:47 am

Cannot select category by Dragon41673
January 15, 2018, 06:57:03 pm

Ayuda con SA_Facebook_Integration3.1.1 by plmmlp
January 09, 2018, 05:19:51 am

URLs by SMFHacks
January 03, 2018, 02:40:26 pm

SMF4Mobile 2.0 released for SMF 2.0.x by SMFHacks
January 02, 2018, 08:25:59 am

SMF Store 3.0 Released by SMFHacks
January 01, 2018, 08:26:57 am

Russian Rouble (RUB) by SMFHacks
December 23, 2017, 08:06:16 pm

Google Search by SMFHacks
December 23, 2017, 08:39:36 am

Powered by EzPortal