Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 199
Total: 199

Author Topic: errors after installation  (Read 5383 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: 16436
    • 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!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

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: 16436
    • 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!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

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: 16436
    • 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!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

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: 16436
    • 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!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

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
14668 Views
Last post December 04, 2007, 09:27:54 pm
by SMFHacks
1 Replies
5070 Views
Last post May 03, 2009, 08:24:15 am
by SMFHacks
0 Replies
3546 Views
Last post May 12, 2009, 02:27:22 pm
by themanhunt1234
0 Replies
2572 Views
Last post October 29, 2010, 04:26:07 am
by fitness-program-expert
11 Replies
6543 Views
Last post December 07, 2010, 07:53:38 pm
by G1

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal