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: 179
Total: 179

Author Topic: Unknown errors  (Read 13981 times)

0 Members and 1 Guest are viewing this topic.

Offline veldfire

  • Full Member
  • ***
  • Posts: 111
    • View Profile
    • Corys "R" Us
Unknown errors
« on: April 18, 2007, 06:47:20 pm »
Just went and checked my error log and found 406 pages of this after adding the "Recent Images on Header" :

Code: [Select]
Undefined index: smf10
/web/sites/roseking/corysrus.com/smf/Sources/Subs.php
859

Code: [Select]
Undefined index: lang_locale
/web/sites/roseking/corysrus.com/smf/Sources/Subs.php
868

The weird thing is that it is only affecting administrators which I am both ?

Any help would be greatly appreciated.

TIA,
Veldfire

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Unknown errors
« Reply #1 on: April 18, 2007, 08:05:27 pm »
Those sound like missing text strings from your theme. They are part of the SMF core
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 veldfire

  • Full Member
  • ***
  • Posts: 111
    • View Profile
    • Corys "R" Us
Re: Unknown errors
« Reply #2 on: April 18, 2007, 08:07:34 pm »
Yep, looked already and they are both there. It only started after I added the "Recent Images on Header" mod. I believe Wilsy is having the same issue as well.

I suspect it has to do with this:
Code: [Select]
//Load the language files
if(loadlanguage('Gallery') == false)
loadLanguage('Gallery','english');
« Last Edit: April 18, 2007, 08:17:15 pm by veldfire »

Offline veldfire

  • Full Member
  • ***
  • Posts: 111
    • View Profile
    • Corys "R" Us
Re: Unknown errors
« Reply #3 on: April 18, 2007, 08:46:13 pm »
Just went and commented out the bits in the Load.php & index.template.php from the "Recent Images on Header" mod and sure enough the errors are all gone  ???

Offline veldfire

  • Full Member
  • ***
  • Posts: 111
    • View Profile
    • Corys "R" Us
Re: Unknown errors
« Reply #4 on: April 20, 2007, 06:31:47 am »
I'd really like to get this mod up and running again  ???

Offline veldfire

  • Full Member
  • ***
  • Posts: 111
    • View Profile
    • Corys "R" Us
Re: Unknown errors
« Reply #5 on: April 21, 2007, 05:52:55 pm »
 ???

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Unknown errors
« Reply #6 on: April 21, 2007, 06:07:14 pm »
Those two errors refer to
$txt['lang_locale'] = 'en_US';
$txt['smf10'] = '<b>Today</b> at ';
Not sure how that mod would cause that to occur
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 veldfire

  • Full Member
  • ***
  • Posts: 111
    • View Profile
    • Corys "R" Us
Re: Unknown errors
« Reply #7 on: April 21, 2007, 06:10:22 pm »
Those two errors refer to
$txt['lang_locale'] = 'en_US';
$txt['smf10'] = '<b>Today</b> at ';
Not sure how that mod would cause that to occur
As I stated above, I've looked at those strings already and they are both there. It only started after I added the "Recent Images on Header" mod. I believe Wilsy is having the same issue as well.

I suspect it has to do with this:
Code: [Select]
//Load the language files
if(loadlanguage('Gallery') == false)
loadLanguage('Gallery','english');


Once I commented out the mod all the errors went away so the only conclusion can be it has to do with this hack !

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Unknown errors
« Reply #8 on: April 21, 2007, 06:20:00 pm »
Try adding those strings to Gallery.english.php or your gallery language files.
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 veldfire

  • Full Member
  • ***
  • Posts: 111
    • View Profile
    • Corys "R" Us
Re: Unknown errors
« Reply #9 on: April 21, 2007, 06:38:16 pm »
Try adding those strings to Gallery.english.php or your gallery language files.
Added those to the bottom of the Gallery.english.php files (not sure if it matters where I add them ?) and it's still doing the same thing  ???

Offline veldfire

  • Full Member
  • ***
  • Posts: 111
    • View Profile
    • Corys "R" Us
Re: Unknown errors
« Reply #10 on: April 22, 2007, 10:39:41 am »
Try adding those strings to Gallery.english.php or your gallery language files.
Added those to the bottom of the Gallery.english.php files (not sure if it matters where I add them ?) and it's still doing the same thing  ???
??? ??? ???

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Unknown errors
« Reply #11 on: April 22, 2007, 12:52:15 pm »
Not sure have not encounted that problem placing in the gallery language should fix it.
You can also try placing those lines in Subs.php before the recent pictures mod.
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 veldfire

  • Full Member
  • ***
  • Posts: 111
    • View Profile
    • Corys "R" Us
Re: Unknown errors
« Reply #12 on: April 22, 2007, 02:02:06 pm »
Not sure have not encounted that problem placing in the gallery language should fix it.
You can also try placing those lines in Subs.php before the recent pictures mod.
Um, this mod only worked with Load.php & index.template.php ? ???

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Unknown errors
« Reply #13 on: April 22, 2007, 02:27:16 pm »
Add it to load.php then.
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 Tick

  • Member
  • *
  • Posts: 23
    • View Profile
Re: Unknown errors
« Reply #14 on: July 22, 2007, 08:41:47 pm »
Did anyone find a fix for this.  I am working on a forum for someone and the recent images mod is causing this error for me.  I would like to resolve it if anyone knows of a fix for it.

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
4421 Views
Last post January 28, 2007, 10:48:06 am
by SMFHacks
4 Replies
14668 Views
Last post December 04, 2007, 09:27:54 pm
by SMFHacks
9 Replies
7539 Views
Last post February 24, 2009, 07:44:30 pm
by GKDantas
2 Replies
6004 Views
Last post May 19, 2009, 10:01:04 pm
by william777
3 Replies
719 Views
Last post August 22, 2021, 03:09:23 pm
by SMFHacks

+- 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