collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 280
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

NEED HELP? If you're looking for support with Simple Portal, look no further than the Support Board!

Author Topic: Undefined index: sp-articlesAdd  (Read 9259 times)

0 Members and 1 Guest are viewing this topic.

Offline Geri

  • Jr. Member
  • **
  • Posts: 50
  • SMF Version: 1.1.10
  • SP Version: 2.3
Undefined index: sp-articlesAdd
« on: October 31, 2008, 01:37:46 PM »
 
I uninstaled the 2.0.4 version, and installed the 2.0.5 version, and because I was getting a lot of errors I upgraded the database too, using that upgrade1-1.php file.
Now I'm getting:

Undefined index: sp-articlesAdd
File: /home/my forum/public_html/Themes/default/SPortal1-1.template.php (article_add sub template - eval?)
Line: 107

the line 107 is:
         <td>', $txt['sp-articlesAdd'], '</td>



SMF1.1.6
SP2.0.5

What could be causing that error?
I find it in the error log after I add an article using the "add an article" button, (bottom of a topic).
« Last Edit: October 31, 2008, 01:39:59 PM by Geri »

Offline ???1031

  • ... feel not as a dev at the moment ...
  • Comrade
  • *
  • Posts: 789
  • Gender: Male
  • Overworked <<
  • SMF Version: None
  • SP Version: None
Re: Undefined index: sp-articlesAdd
« Reply #1 on: November 01, 2008, 07:56:44 AM »
Good question, normal the text files are loaded for this :).

I will look into this so that, i hope i can find this bug =).
« Last Edit: November 01, 2008, 08:03:14 AM by ディン1031 »
Again... I'm having time problems...Normal Monday to Friday I'm at office from 6:00-16:00 (On my local time ;P).

Offline asude

  • Jr. Member
  • **
  • Posts: 54
  • Gender: Female
Re: Undefined index: sp-articlesAdd
« Reply #2 on: November 01, 2008, 08:04:23 AM »
that string is currently in 'sportaladmin' language file, but only 'sportal' language file will be loaded on that page. it should be moved to 'sportal' language file.

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: Undefined index: sp-articlesAdd
« Reply #3 on: November 13, 2008, 07:19:08 PM »
@Geri,
Are you still getting this error?

There may have been an error with the upgrading, try uninstalling SimplePortal and then reinstalling it. It probably won't change anything, but it might.

Also, are you using a language other than english? Its possible that one of the translations may be missing a language string.

@asude,
The 'sportaladmin' language file is loaded by the 'SPortalAdmin' function, which controls all admin pages. I don't think thats the issue.
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Offline Geri

  • Jr. Member
  • **
  • Posts: 50
  • SMF Version: 1.1.10
  • SP Version: 2.3
Re: Undefined index: sp-articlesAdd
« Reply #4 on: November 14, 2008, 06:40:39 AM »
Sorry I was very bussy and I didn't had the time to write here again.

Today I tryed to uninstall and install the SP. I also have a custom language but I did not translate the SP. I just downloaded those files, changed the names to my language and uploaded to language files.
I changed my profile today to english so that the language files should not be the issue.

I got those errors when I tryed to add 1 article:

8: Undefined index: sp-articlesAdd
File: /home/my forum/public_html/Themes/default/SPortal1-1.template.php (article_add sub template - eval?)
Line: 125

8: Undefined index: sp-articlesCategory
File: /home/my forum/public_html/Themes/default/SPortal1-1.template.php (article_add sub template - eval?)
Line: 114

8: Undefined index: sp-articlesAdd
File: /home/my forum/public_html/Themes/default/SPortal1-1.template.php (article_add sub template - eval?)
Line: 107

Unable to load the 'SportalAdmin.english' language file (that confuses me...why is it "unable to load"?)

Unable to load the 'SportalAdmin.english' language file

8: Undefined index: sp-categoriesDeleteConfirm
File: /home/my forum/public_html/Sources/Subs-SPortal1-1.php
Line: 118

8: Undefined index: sp-categoriesDeleteConfirm
File: /home/my forum/public_html/Sources/Subs-SPortal1-1.php
Line: 118

« Last Edit: November 14, 2008, 06:42:55 AM by Geri »

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Undefined index: sp-articlesAdd
« Reply #5 on: November 16, 2008, 02:14:27 PM »
Check if you have those files in ../Themes/default/languages/ directory.

Which language package are you using?
And slowly, you come to realize... It's all as it should be...

Offline Geri

  • Jr. Member
  • **
  • Posts: 50
  • SMF Version: 1.1.10
  • SP Version: 2.3
Re: Undefined index: sp-articlesAdd
« Reply #6 on: November 17, 2008, 10:09:47 AM »
yes ...those files are there.

I use a romanian language package. For the forum, not for SP particulary.
As I said...I have no translation for SP files... I just copyed and renamed them according to my language. It worked this way with all mods that I have instaled, and with the older version of SP.
And since I changed the forum language to english (to see if the errors still appear) my own language files should not be used, and they should not cause errors,...or am I not right? :|

Offline Geri

  • Jr. Member
  • **
  • Posts: 50
  • SMF Version: 1.1.10
  • SP Version: 2.3
Re: Undefined index: sp-articlesAdd
« Reply #7 on: November 17, 2008, 10:21:28 AM »
I saw now that my problems are similar with this topic:
http://simpleportal.net/index.php?topic=782.msg5802;topicseen#new

Maybe I should try that what ???1031 suggested, too.  :)

I'll be back.


Offline Geri

  • Jr. Member
  • **
  • Posts: 50
  • SMF Version: 1.1.10
  • SP Version: 2.3
Re: Undefined index: sp-articlesAdd
« Reply #8 on: November 17, 2008, 11:00:13 AM »
Hmmm for some reasons i think all your files are not updated...

Can you unpack the package and uploade all
*.english*.php into the directory /Themes/default/lanugage/, if you succecfull did this than all errors should disappear. :).

Bye
DIN1031

Id did that too now.
Same errors when I create an article. Damn!
Any suggestions?

Offline Talismen

  • Semi Newbie
  • *
  • Posts: 41
  • Gender: Female
    • All Sides Political Forums
  • SMF Version: 1.1.10
  • SP Version: 2.3.1
Re: Undefined index: sp-articlesAdd
« Reply #9 on: November 17, 2008, 02:40:26 PM »
I saw now that my problems are similar with this topic:
http://simpleportal.net/index.php?topic=782.msg5802;topicseen#new

Maybe I should try that what ???1031 suggested, too.  :)

I'll be back.



PS - I've updated the thread linked in this quote.
;)

Offline Geri

  • Jr. Member
  • **
  • Posts: 50
  • SMF Version: 1.1.10
  • SP Version: 2.3
Re: Undefined index: sp-articlesAdd
« Reply #10 on: November 23, 2008, 04:20:42 AM »
Thanks. I got it. ;)

This is an issue only for some servers.

For both versions,

SPortalxx.php

Find:

Code: [Select]
if(loadLanguage('SportalAdmin') === false)
loadLanguage('SportalAdmin', 'english');

Replace:

Code: [Select]
if(loadLanguage('SPortalAdmin') === false)
loadLanguage('SPortalAdmin', 'english');

Will be included in new version.

Thanks for report.



http://simpleportal.net/index.php?topic=932.0

There is the solution for the sp-articleAdd error.
Problem solved thanks to Blue Dream.
Thank you.

The Undefined index: sp-categoriesDeleteConfirm error still apears, but for that I will further ask for support în Talismen's topic : http://simpleportal.net/index.php?topic=782.0


This topic can be closed.
« Last Edit: November 23, 2008, 04:38:22 AM by Geri »

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Undefined index: sp-articlesAdd
« Reply #11 on: November 30, 2008, 07:19:01 AM »
This is fixed with 2.1.
And slowly, you come to realize... It's all as it should be...

Offline Annie85

  • Just Registered
  • Posts: 1
    • Kostenlose Kleinanzeigen
Re: Undefined index: sp-articlesAdd
« Reply #12 on: April 09, 2009, 06:35:37 AM »
I am still running the 2.05 version but never got this error message.

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Undefined index: sp-articlesAdd
« Reply #13 on: April 09, 2009, 06:48:11 AM »
It just appear on some servers.
And slowly, you come to realize... It's all as it should be...