Uutiset:

Wondering if this will always be free?  See why free is better.

Main Menu
Advertisement:

Undefined variable: scripturl Error Please Help

Aloittaja samanthabetland, lokakuu 04, 2010, 01:19:34 AP

« edellinen - seuraava »

samanthabetland

Hi Everyone  :)

I've just installed a new theme and I'm receiving alot of errors so I'll just post one at a time and hopefully someone can help me out ?
Error message:
Undefined variable: scripturl
File: /Display.template.php (main sub template - eval?)
Line: 466



xenovanis

What theme did you install? Can you please post a link to where you downloaded this theme?
"Insanity: doing the same thing over and over again and expecting different results."


gbsothere

#3
Lainaus käyttäjältä: samanthabetland - lokakuu 04, 2010, 04:13:59 IP
This is the theme I'm using:
http://custom.simplemachines.org/themes/index.php?lemma=1257

Thanks
Samantha



That error actually sounds like a couple of mods I've seen (well, several, actually, could throw that).  If you switch to default do you still have the same error?  If not, would you attach the Display.template.php for your theme?

My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

Kindred

also, please install the "disable template eval" mod and then tell us what the error reads after that.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

samanthabetland

I've installed the disable template eval and now in use  :) when I use the default theme I don't receive any error messages.
I've copied and pasted into notepad hope this works ?





Kindred

my point is that your error is an eval error, which means that the problem is not actually happening in the display.template.php, it is happeneing somewhere else and is only triggering in the template file.

however, we need to find out where the ACTUAL error is in order to have any idea at all...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

gbsothere


Samantha, would you list the mods you have installed?



My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

samanthabetland

These are the packages I have installed:







Modification Packages
   Mod Name    Version    
1.    DisableTemplateEval    1.2    [ Uninstall ] [ List Files ] [ Delete ]
2.    AddThis Social Bookmarks    1.0    [ Uninstall ] [ List Files ] [ Delete ]
3.    Location on Member List    1.0    [ Uninstall ] [ List Files ] [ Delete ]
4.    Previous and Next Links for Page Index    1.0    [ Uninstall ] [ List Files ] [ Delete ]
5.    Profile User Action    1.1    [ Uninstall ] [ List Files ] [ Delete ]
6.    Admin member list registration date    1.0    [ Uninstall ] [ List Files ] [ Delete ]
7.    Hide "Logged" and IP Image    1.0    [ Uninstall ] [ List Files ] [ Delete ]
8.    Banlist    1.0    [ Uninstall ] [ List Files ] [ Delete ]
9.    Additional Membergroups on Profile    1.0    [ Uninstall ] [ List Files ] [ Delete ]
10.    Show Unread Private Messages    1.1    [ Uninstall ] [ List Files ] [ Delete ]
11.    Generic Avatars    1.1    [ Uninstall ] [ List Files ] [ Delete ]
12.    Space Between Posts    1.0    [ Uninstall ] [ List Files ] [ Delete ]
13.    Board Message Icon    1.0    [ Uninstall ] [ List Files ] [ Delete ]
14.    Zodiac_Starsigns    1.2    [ Uninstall ] [ List Files ] [ Delete ]
15.    Anti-Spam Verification Questions    1.02    [ Uninstall ] [ List Files ] [ Delete ]
16.    SMF 1.0.19 / 1.1.11 Update    1.0    [ Uninstall ] [ List Files ] [ Delete ]
17.    PageDropdown    1.1    [ Uninstall ] [ List Files ] [ Delete ]

gbsothere

When you installed these mods, did you also place their manual edits in your custom theme's templates and language files?  (You're not getting the error in default, so I'm wondering about that.)

:)
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

samanthabetland

I've installed these via the forum through "update packages" area. The only file I don't have up to date and can't work out how to fix is my language file is 1.1  current version for everything else is1.1.9. Would this cause the issue ? wasn't with the default theme though  ??? thought I'd mention just incase ?


Thanks again for your help, hope we can sort it out
:)

gbsothere

Well, Samantha...  it would be a good idea to upgrade to 1.1.11.  There are a lot of security fixes and it's more stable than 1.1.9.

Having said that, though...  there's a reason you're not getting the error in the default theme but you are in your custom theme.  The package manager only parses (edits) files for the default theme and English language files.  Any custom theme that has template files and/or language files in common with default must have those edits placed manually.  Your theme has quite a lot:  5 template files.  If you are running a mod just fine in default, then switch over to a custom theme that has never had any of the mods' edits placed in its files, you're going to throw errors, sooner or later.

How attached are you to these mods?  You'd probably have to reinstall them after the upgrade, unless you upgraded manually.  If you uninstalled them, upgrading would be much easier.  But upgrading is just my suggestion; that's your call.   ;)
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

samanthabetland

I'm happy to lose what ever I need to remove these errors, in time I know if I leave as is the forum will most likely stop working BUT I need a little guidance if that's ok ?

Whats the easiest way to upgrade ? manual will do my head in  :P is there an option to upgrade via the forum uploading a simple file or something ?

Cheers
Samantha


Lainaus käyttäjältä: gbsothere - lokakuu 04, 2010, 08:41:39 IP
Well, Samantha...  it would be a good idea to upgrade to 1.1.11.  There are a lot of security fixes and it's more stable than 1.1.9.

Having said that, though...  there's a reason you're not getting the error in the default theme but you are in your custom theme.  The package manager only parses (edits) files for the default theme and English language files.  Any custom theme that has template files and/or language files in common with default must have those edits placed manually.  Your theme has quite a lot:  5 template files.  If you are running a mod just fine in default, then switch over to a custom theme that has never had any of the mods' edits placed in its files, you're going to throw errors, sooner or later.

How attached are you to these mods?  You'd probably have to reinstall them after the upgrade, unless you upgraded manually.  If you uninstalled them, upgrading would be much easier.  But upgrading is just my suggestion; that's your call.   ;)

Kindred

upgrading from 1.1.9 to 1.1.11 can be done through the package manager....

or, you can grab the "large upgrade pack", upload the contents of that archive to yuor server, overwriting all files on the server and run upgrade.php.

(note: this same - the second- method can be used to upgrade to 2.0RC3
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

samanthabetland

I'd like to upgrade to 2.0RC3 but still confused sorry this is all doing my head in a little  :D can I upload the files and them upload via the forum to upgrade ? or does it have to be done via my server?

Thanks
Samantha




Lainaus käyttäjältä: Kindred - lokakuu 05, 2010, 02:30:01 AP
upgrading from 1.1.9 to 1.1.11 can be done through the package manager....

or, you can grab the "large upgrade pack", upload the contents of that archive to yuor server, overwriting all files on the server and run upgrade.php.

(note: this same - the second- method can be used to upgrade to 2.0RC3

Paul_Pauline

You cannot upgrade to 2.0 RC3 via the package manager.

Grab the 2.0 RC3 upgrade pack from the downloads page, save it to your PC and unzip it.

Then via your ftp client, use all the files it contains to overwrite the existing files on your server, after you have done that run upgrade.php.

You will lose all your mods during this process !

You MUST backup your database, and if you have hard coded any edits in your SMF files/themes, those too before you start the upgrade,
without them there is no way back, as the upgrade makes changes to the database.
"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

gbsothere

I would just add, Samantha, that if you're going to upgrade to RC3, I would move from 1.1.9 to 1.1.11 first because, if you don't, then when you upgrade to RC3, you're almost certain to get the dreaded "Smiley" error that would need to have been sorted when upgrading to 1.1.11.  It would be better to deal with that while still in the 1.1.x series.

:)
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

samanthabetland

Thanks for your help everyone  ;D I'm not sure what I'll do just yet, maybe wait a little bit and read about the upgrade process so Im comfortable doing it, at the moment it's a little daunting, would be much easier to press one button and upgrade done  ;)


Thanks again for all your support greatly appreciate
Cheers
Samantha


Kindred

actually gbsothere, it is not necessary to upgrade form 1.0.9 to 1.1.11 before upgrading to 1.1.11. There were no database changes between 1.1.9 and 1.1.11.   So upgrading directly to 2.0RC3 should be just fine.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

gbsothere

Lainaus käyttäjältä: Kindred - lokakuu 05, 2010, 04:20:35 IP
actually gbsothere, it is not necessary to upgrade form 1.0.9 to 1.1.11 before upgrading to 1.1.11. There were no database changes between 1.1.9 and 1.1.11.   So upgrading directly to 2.0RC3 should be just fine.



I keep hearkening back to a situation where a user got hung up in an RC3 upgrade with the "smiley" thing (upgrading from 1.1.9) and he couldn't progress until he went back and dealt with it, so I took a flying leap to a conclusion (as I do).   :)

Good information for me to take note of.  Thanks! 
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

Advertisement: