SnippetMaster Support Forums
Return to main website
 
April 22, 2013, 09:46:26 PM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 22, 2013, 09:46:26 PM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Installation and Using Error « previous next »
Pages: [1] Print
Author Topic: Installation and Using Error  (Read 333 times)
ej3-martin

Posts: 10


[-] Installation and Using Error
« on: December 24, 2012, 02:26:14 AM »

I have just installed SM on a server running PHP5.4  I manually uploaded the IonCube Loader files and updated php.ini.  When I installed SM I received the following error:

Strict Standards:mktime(): It is not safe to rely on the system's timezone settings.  You are *required* to use the date.timezone setting 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 'Europe/Berlin' for 'CET/1.0/no DST' instead in server path/autoinstaller.php on line 147.  

This error was repeated over 100 times down the page, however at the bottom of the page autoinstaller said it had worked correctly.  

When I logged in to SM (with any account), I receive the following error:

Warning: Illegal string offset 'snippetcount' in server path/includes/templates/main.html on line 0
 Current folder :  
Warning: Illegal string offset 'snippetcount' in server path/includes/templates/main.html on line 0
 URL

I have used SM on several occasions in the past, but have never used it with PHP5.4 or with IonCube encryption.  I am sure that IonCube would not be casuing these problems as it is generally distributed, but wondered if it may be PHP5.4.  If it is, has anyone else come across a similar error?

Thanks in advance!

P.S. Screen shots of error attached

* Autoinstaller.jpg (76.6 KB, 150x50 - viewed 15 times.)
* login.jpg (24.69 KB, 150x32 - viewed 14 times.)
Report to moderator   Logged
ej3-martin

Posts: 10


[-] Re: Installation and Using Error
« Reply #1 on: December 27, 2012, 09:57:40 AM »

I have tried SM on a different server (still running PHP5.4) and am running into the same problems.  The installation error (about time server) does not seem to make any difference to using SM, but when logging in as any user I get Warning: Illegal string offset 'snippetcount' in SM Install Path/includes/templates/main.html on line 0

The program seems to work under PHP5.2, but I have been asked to use PHP 5.4 (their host is dropping 5.2 and earlier early in the new year!

Thanks
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3132

SnippetMaster Author


WWW
[-] Re: Installation and Using Error
« Reply #2 on: January 04, 2013, 08:16:41 AM »

Sorry for the delay with this.

Is it possible to use PHP 5.3 for now?  PHP 5.4 is still very new, and I have not yet converted Snippetmaster to work with it.

Report to moderator   Logged
ej3-martin

Posts: 10


[-] Re: Installation and Using Error
« Reply #3 on: January 06, 2013, 09:02:49 AM »

I have downgraded PHP to 5.2  Apparently my hosting provider does not support 5.3!
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3132

SnippetMaster Author


WWW
[-] Re: Installation and Using Error
« Reply #4 on: January 06, 2013, 09:25:33 AM »

Sounds like you might want to switch to a better hosting provider.  Smile

(Let me know if you'd like a recommendation, where you can get Snippetmaster PRO (rebrandable version) for free...)
Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Installation and Using Error « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!