Page 1 of 1
[SOLVED] Blank Admin CMSMS 1.11.7
Posted: Tue Sep 03, 2013 11:09 am
by delve2013
I've installed version 1.11.7 with the latest products, CGSimpleSmarty and CGExtensions modules. Upon installation my entire admin area is just a blank white screen.
Any ideas why this is happening?
Just an update, the blank admin only happens after installing the CGSimpleSmarty module.
I don't get it, I have 4 other websites running with the same modules, but this particular installation is not working.

Re: Blank Admin CMSMS 1.11.7
Posted: Tue Sep 03, 2013 1:27 pm
by Stikki
Some of your modules causes PHP error, but because your error reporting is off, you get white page.
Turn error reporting on in your PHP ini file and check what causes the error.
Re: Blank Admin CMSMS 1.11.7
Posted: Tue Sep 03, 2013 4:14 pm
by delve2013
Here's the error:
Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in /home/sites/delvedesign.co.uk/public_html/modules/CGSimpleSmarty/CGSimpleSmarty.module.php on line 39
Warning: require_once(__DIR__/function.module_action.php) [function.require-once]: failed to open stream: No such file or directory in /home/sites/delvedesign.co.uk/public_html/modules/CGSimpleSmarty/CGSimpleSmarty.module.php on line 39
Fatal error: require_once() [function.require]: Failed opening required '__DIR__/function.module_action.php' (include_path='.:/usr/share/pear5:/usr/share/ZendFramework') in /home/sites/delvedesign.co.uk/public_html/modules/CGSimpleSmarty/CGSimpleSmarty.module.php on line 39
Re: Blank Admin CMSMS 1.11.7
Posted: Tue Sep 03, 2013 4:54 pm
by velden
You probably do not have php 5.3+ which is a requirement for many modules if not cmsms itself.
Re: Blank Admin CMSMS 1.11.7
Posted: Tue Sep 03, 2013 5:53 pm
by delve2013
I have over 10 cmsms websites using the same modules and versions running on the same server. But only this particular installation has this problem.
Re: Blank Admin CMSMS 1.11.7
Posted: Tue Sep 03, 2013 6:03 pm
by velden
Error is pretty clear:
Notice: Use of undefined constant __DIR__
http://php.net/manual/en/language.const ... efined.php
__DIR__ The directory of the file. If used inside an include, the directory of the included file is returned. This is equivalent to dirname(__FILE__). This directory name does not have a trailing slash unless it is the root directory. (Added in PHP 5.3.0.)
You have 5.2.17, so please don't tell me about the other sites running well with same versions etc.
Re: Blank Admin CMSMS 1.11.7
Posted: Wed Sep 11, 2013 8:51 pm
by Rolf
System information?
Re: Blank Admin CMSMS 1.11.7
Posted: Thu Sep 12, 2013 10:23 am
by delve2013
The PHP version was correct, I had to re-install everything again and it started working. Not sure what was going on here.
Re: Blank Admin CMSMS 1.11.7
Posted: Thu Sep 12, 2013 10:46 am
by velden
delve2013 wrote:The PHP version was correct, I had to re-install everything again and it started working. Not sure what was going on here.
I'm pretty sure the php version was as I stated: too old (5.2.17).
I was (and am!) able to walk a few steps through your install (you should remove the install directory after installation) and when I looked it said 5.2.17
A few hours later it was 5.3.26. So there must have changed something. I can't believe the php version check is unreliable.
Re: [SOLVED] Blank Admin CMSMS 1.11.7
Posted: Thu Sep 12, 2013 10:55 am
by delve2013
The hosting company may have made an error and changed the php version.