News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

RC01 - error after upgrade

Started by gregy, August 10, 2004, 08:21:41 AM

Previous topic - Next topic

gregy

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?

Senkusha

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?
--Senkusha
The Anime Brigade
Anime-style Role Playing Games and Discussion.
(SMF v. 2.1.4, PHP v. 8.0)

Tristan Perry

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

gregy


compa

same when i enter the admin center where it should say

'Hi [ADMINUSERNAME]' it stumbles upon hello_guest

Søren Bjerg

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".
RUNE HORDES dot INFO - SMF 1.1.10 w/ Custom Profile Mod... and various permissions hooks and template changes (new topic form).

Grudge

I assume that you have all run Upgrade.php? Also, that you updated you post template?
I'm only a half geek really...

compa

except for index.template.php i have overwritten all other Theme files, but it gets administrator centre from the default, right?

Senkusha

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.
--Senkusha
The Anime Brigade
Anime-style Role Playing Games and Discussion.
(SMF v. 2.1.4, PHP v. 8.0)

gregy

hmm .. don't understand what templates .. i did overwrite all files that were in zip upgrade rc01 ..

anything else?

Vinoth

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.
Vinoth And Sachin ( SpecHackers Team )
The Best  Way to Help Poor Is not Becoming One Of Them.

compa

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 :-( _

gregy

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

compa

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

Søren Bjerg

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...
RUNE HORDES dot INFO - SMF 1.1.10 w/ Custom Profile Mod... and various permissions hooks and template changes (new topic form).

Søren Bjerg

Hehe... there we go... it did work... by replacing MessageIndex.template.php and Post.template.php with those from the classic theme :).
RUNE HORDES dot INFO - SMF 1.1.10 w/ Custom Profile Mod... and various permissions hooks and template changes (new topic form).

andrea

#16
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).

Andrea Hubacher
Ex Lead Support Specialist
www.simplemachines.org

Personal Signature:
Most recent work:
10 Aqua Themes for SMF



Mysterio

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.

andrea

Mysterio the easiest is to ask the author of the theme. Themes may work flawless with the new release but also may make errors.

Andrea Hubacher
Ex Lead Support Specialist
www.simplemachines.org

Personal Signature:
Most recent work:
10 Aqua Themes for SMF



Mysterio


Advertisement: