Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Install and Upgrade Help => Topic started by: gregy on August 10, 2004, 08:21:41 AM

Title: RC01 - error after upgrade
Post by: gregy on August 10, 2004, 08:21:41 AM
Hi!

i upgraded beta 1.0.5. to RC 01 .. everything works  except when you try to view a post you will get an error in "subject" table

Notice: Undefined offset: 641 in /home2/web/mydomain.com/www/Sources/Load.php(1090) : eval()'d code on line 193 49 times)

any idea?
Title: Re: RC01 - error after upgrade
Post by: Senkusha on August 10, 2004, 08:39:43 AM
I've got a simular problem, when posting, all my smilies are gone,  instead I have the following error message:

Quote
<br />
<b>Notice</b>: Undefined index:  description in <b>(server path)\Sources\Load.php(1090): eval()'d code </b> on line <b>1009</b>


Any ideas?
Title: Re: RC01 - error after upgrade
Post by: Tristan Perry on August 10, 2004, 08:43:45 AM
Quote
<br />
<b>Notice</b>: Undefined index:  description in <b>(server path)\Sources\Load.php(1090): eval()'d code </b> on line <b>1009</b>


Yeah I get that too...
Title: Re: RC01 - error after upgrade
Post by: gregy on August 10, 2004, 09:01:23 AM
thx god i'm not the only one  8)
Title: Re: RC01 - error after upgrade
Post by: compa on August 10, 2004, 09:30:34 AM
same when i enter the admin center where it should say

'Hi [ADMINUSERNAME]' it stumbles upon hello_guest
Title: Re: RC01 - error after upgrade
Post by: Søren Bjerg on August 10, 2004, 09:31:34 AM
In addition to the

Quote<br /> <b>Notice</b>: Undefined index: description in <b>/blabla/httpd.www/forums/Sources/Load.php(1090) : eval()'d code</b> on line <b>505</b>

message, the "new poll" screen doesn't give me the possibility of adding new options (like here), and the first five out of eight options contain the word "Array".
Title: Re: RC01 - error after upgrade
Post by: Grudge on August 10, 2004, 09:44:59 AM
I assume that you have all run Upgrade.php? Also, that you updated you post template?
Title: Re: RC01 - error after upgrade
Post by: compa on August 10, 2004, 09:46:16 AM
except for index.template.php i have overwritten all other Theme files, but it gets administrator centre from the default, right?
Title: Re: RC01 - error after upgrade
Post by: Senkusha on August 10, 2004, 09:52:14 AM
DOH!  That's it!  If you are using a custom template (which I am) you need to copy over the *.template.php files.  I just did this for my post.template.php file and it works great!  I didn't even have to worry about replacing the graphics.

Thanks!  I really love this new templating system.
Title: Re: RC01 - error after upgrade
Post by: gregy on August 10, 2004, 09:56:07 AM
hmm .. don't understand what templates .. i did overwrite all files that were in zip upgrade rc01 ..

anything else?
Title: Re: RC01 - error after upgrade
Post by: Vinoth on August 10, 2004, 09:58:48 AM
Quote from: Grudge on August 10, 2004, 09:44:59 AM
I assume that you have all run Upgrade.php? Also, that you updated you post template?

grudge can't get u, should we replace all the files and then run the .php file or any other process.
Title: Re: RC01 - error after upgrade
Post by: compa on August 10, 2004, 10:02:54 AM
he means for you to untar/unzip the new files (overwriting old ones, see the docs, so take care not to overwrite anything you changed!!!) and then run

http://your.site.domain.org/forum.directory/upgrade.php

than everything should work (allthough i still got my admin error :-( _
Title: Re: RC01 - error after upgrade
Post by: gregy on August 10, 2004, 10:30:31 AM
i haven't made any changes from first version of SMF till recent .. every update went ok .. this one gives above mentioned error   :-\ no mods no anything .. clean SMF
Title: Re: RC01 - error after upgrade
Post by: compa on August 10, 2004, 10:37:28 AM
ok, researching through my directories it appeared that a languagefile wasn't set correctly so the 'error' in the admin screen has resolved itself now ...

retried 'upgrading' to RC1 without running upgrade.php and it gives the errors the other people described

so, run http://yourserver/forumdir/upgrade.php and it will work for you i guess
Title: Re: RC01 - error after upgrade
Post by: Søren Bjerg on August 10, 2004, 10:50:10 AM
Quote from: Grudge on August 10, 2004, 09:44:59 AM
[...] Also, that you updated you post template?

*whistles*

Uhhh... that might be it... :-[.

Would what Senkusha said work for andrea's Aquamania skins too, without screwing it up?


Hmm... maybe I should try myself...
Title: Re: RC01 - error after upgrade
Post by: Søren Bjerg on August 10, 2004, 10:56:01 AM
Hehe... there we go... it did work... by replacing MessageIndex.template.php and Post.template.php with those from the classic theme :).
Title: Re: RC01 - error after upgrade
Post by: andrea on August 10, 2004, 12:04:47 PM
Quote from: Søren Bjerg on August 10, 2004, 10:50:10 AM
Quote from: Grudge on August 10, 2004, 09:44:59 AM
[...] Also, that you updated you post template?

*whistles*

Uhhh... that might be it... :-[.

Would what Senkusha said work for andrea's Aquamania skins too, without screwing it up?


Hmm... maybe I should try myself...

You can check if your install is fine like this: english language and default theme should work without errors. Customized themes and non english languages might cause errors when you use themes which were designed for earlier betas. If errors appear with non english language files then a language file might be missing strings or contain a typo. The Aquamania Skins which are posted until July 2004 are made for Beta 5 and will most likely have errors with RC1. Since RC1 is out I am making them new (needs some hours since I will redo all theme adaptions starting over with the RC1 default theme files).
Title: Re: RC01 - error after upgrade
Post by: Mysterio on August 10, 2004, 12:18:41 PM
Right now, I have the Comic Theme set as the default forum theme, but what if I changed that over to the Classic YaBBSE theme, run the upgrade, then change it back to the Comic Theme?

Would that make any difference?

And if not, all I have to do is replace the 'MessageIndex.template.php and 'Post.template.php', etc with the ones that are in my custom theme?

And after that, it should work fine?

Thanks.
Title: Re: RC01 - error after upgrade
Post by: andrea on August 10, 2004, 12:23:00 PM
Mysterio the easiest is to ask the author of the theme. Themes may work flawless with the new release but also may make errors.
Title: Re: RC01 - error after upgrade
Post by: Mysterio on August 10, 2004, 12:25:00 PM
k, thanks.
Title: Re: RC01 - error after upgrade
Post by: [Unknown] on August 11, 2004, 01:48:58 AM
Quote from: Senkusha on August 10, 2004, 09:52:14 AM
Thanks!  I really love this new templating system.

Which?  While I'm glad you like it, I just wanted to note that it really hasn't changed very much.... that I can remember.... not the core... only one real change to speak of...

-[Unknown]
Title: Re: RC01 - error after upgrade
Post by: Senkusha on August 11, 2004, 08:09:40 AM
I meant in comparison to yabbse.  You guys are heros in my book!
Title: Re: RC01 - error after upgrade
Post by: Oldiesmann on August 11, 2004, 12:15:14 PM
Where did you get the Comic Theme? I didn't think that was available for download...
Title: Re: RC01 - error after upgrade
Post by: gregy on August 11, 2004, 01:43:58 PM
Quote from: gregy on August 10, 2004, 10:30:31 AM
i haven't made any changes from first version of SMF till recent .. every update went ok .. this one gives above mentioned error :-\ no mods no anything .. clean SMF

theme i use is deafult theme that comes with SMF .. no changes no mods .. still error?

any idea?
Title: Re: RC01 - error after upgrade
Post by: [Unknown] on August 12, 2004, 04:13:06 AM
Quote from: gregy on August 11, 2004, 01:43:58 PM
Quote from: gregy on August 10, 2004, 10:30:31 AM
i haven't made any changes from first version of SMF till recent .. every update went ok .. this one gives above mentioned error :-\ no mods no anything .. clean SMF

theme i use is deafult theme that comes with SMF .. no changes no mods .. still error?

any idea?

Have you made sure you uploaded the files again?

Have you tried a detailed version check?

-[Unknown]
Title: Re: RC01 - error after upgrade
Post by: Isaac on August 12, 2004, 12:05:01 PM
I ran the installation fine, but I am getting the smilies error.  I uploaded the post files for the template, but I still get the error.
Any ideaS?
EDIT: I fixed it.  I uploaded the SMFRC1 Template post file in the templates folders, and it fixed it. :)
Title: Re: RC01 - error after upgrade
Post by: gregy on August 12, 2004, 03:56:22 PM
hi

i fixed the problem .. i missed out line

$txt[641] = 'Read';

when i was translating language file  :-[


thanx for help unknown  8)