Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Problems with upgrade to 4.20 svn
I was upgrading a second site to 4.20. I normally use svn, and did so again this time.
This site was a 4.0.8 + svn but still pre 4.20
However, it is not going smoothly.
On the public side I am now getting new errors at the top of the page:
Strict Standards: mktime() [function.mktime]: It is not safe to rely on the system’s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ‘America/Los_Angeles’ for ‘PST/-8.0/no DST’ instead in /path/to/website/domain/textpattern/lib/txplib_misc.php(594) : eval()’d code on line 278
Strict Standards: mktime() [function.mktime]: You should be using the time() function instead in /path/to/website/domain/textpattern/lib/txplib_misc.php(594) : eval()’d code on line 278
Strict Standards: mktime() [function.mktime]: It is not safe to rely on the system’s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ‘America/Los_Angeles’ for ‘PST/-8.0/no DST’ instead in /path/to/website/domain/textpattern/lib/txplib_misc.php(594) : eval()’d code on line 351
Strict Standards: mktime() [function.mktime]: You should be using the time() function instead in /path/to/website/domain/textpattern/lib/txplib_misc.php(594) : eval()’d code on line 351
On the backend I received one error:
cannot_instantiate_theme: seagloss, seagloss_theme, /path/to/website/domain/textpattern/theme/seagloss/seagloss.php._
I’m pretty sure that was thrown by smd_admin_theme, because I have had temporarily removed the extra themes.
A reload gave me this error:
Fatal error: Call to undefined function include_element() in /path/to/website/domain/textpattern/lib/txplib_misc.php(580) : eval()’d code on line 1921
That’s all that shows. I’m not able to access the backend at all.
I rolled back to my previous install. The front end error disappeared. However, I am still getting the same error/same situation with the backend. Everything worked right prior to the update.
Any suggestions would be much appreciated.
Thanks
Mike
Last edited by maverick (2009-11-17 22:59:27)
Offline
Re: Problems with upgrade to 4.20 svn
Possible avenues of exploration:
- include_element is a crockery function
- timezone errors in PHP 5.3.0
- other strict standards problems you may encounter
cannot_instantiate_theme: seagloss
Yeah, that’ll be smd_admin_themes not being able to find the theme. If you manually FTP the package to your themes directory that should fix it.
Hope that helps.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: Problems with upgrade to 4.20 svn
Solved
Thanks Stef
In case it helps anyone else . . .
re: the backend:
I suspected it might be a plugin, and your link to the zem_event was it. Using phpAdmin to disable it put everything in working order.
re: the front end.
Disabling zem_event seemed to fix this as well.
Look like its time to switch to smd_calendar! :) (Been thinking of it, but was feeling too lazy to reset the info; oh well, that’ll teach me for putting off ‘til tomorrow LOL)
re: the theme error
all’s good
Other than a ton of tables needing to be repaired, nothing seems worse for the wear. :)
Thanks again for the quick and helpful response.
Peace
Mike
Last edited by maverick (2009-11-18 01:08:42)
Offline