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
What theme did you install? Can you please post a link to where you downloaded this theme?
This is the theme I'm using:
http://custom.simplemachines.org/themes/index.php?lemma=1257
Thanks
Samantha
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?
also, please install the "disable template eval" mod and then tell us what the error reads after that.
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 ?
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...
Samantha, would you list the mods you have installed?
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 ]
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.)
:)
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
:)
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. ;)
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. ;)
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
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
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.
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 (http://docs.simplemachines.org/index.php?topic=1079.0)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.
:)
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
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.
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!
I receive almost the same error with the vogue theme. disabletempeval mod doesn't work and neither disabling ad mod and aeva
the error:
8: Undefined variable: scripturl
File: ..../forum/Themes/vogue/Display.template.php (main sub template - eval?)
Line: 487list of installed mods
Lainaa1. SMF 1.0.21 / 1.1.13 Update 1.0 [ Uninstall ] [ List Files ] [ Delete ]
2. SMF 1.0.21 / 1.1.13 Update 1.0 [ Uninstall ] [ List Files ] [ Delete ]
3. Topic Member Post Count 1.1.5 [ List Files ] [ Delete ]
4. DisableTemplateEval 1.2 [ Apply Mod ] [ List Files ] [ Delete ]
5. Time and Date Online Remover 1.0 [ Apply Mod ] [ List Files ] [ Delete ]
6. Ad Managment 2.3.1 [ Uninstall ] [ List Files ] [ Delete ]
7. SMF 1.0.20 / 1.1.12 Update 1.0 [ List Files ] [ Delete ]
8. Add security verification to the Login page 1.1 [ List Files ] [ Delete ]
9. SMF 1.0.19 / 1.1.11 Update 1.0 [ List Files ] [ Delete ]
10. Aeva ~ Auto-Embed Video & Audio 6.9.101
changing to default theme makes the error dissapear but i prefer to use vogue theme. Also the error doesn't seem to affect the functionality of the forum
first of all, posting in a topic marked as "solved" is unlikely to get you answers.
second, unless you can disable the eval, we can't figure out which file has the actual error.
However, since i only happens in your custom theme, it looks like you had a mod edit which you did not apply to your custom theme file(s)
sry, i didn't see the solved icon (a [solved] text before topic name woul be more visible) and i'm asking for about a mont about this error on 2 other topics on the forum and i didn't receive any solution :(