[SOLVED] Blank Admin CMSMS 1.11.7

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
delve2013
Forum Members
Forum Members
Posts: 91
Joined: Thu Jan 31, 2013 4:23 pm

[SOLVED] Blank Admin CMSMS 1.11.7

Post 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.

:(
Last edited by delve2013 on Thu Sep 12, 2013 10:24 am, edited 1 time in total.
Stikki

Re: Blank Admin CMSMS 1.11.7

Post 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.
delve2013
Forum Members
Forum Members
Posts: 91
Joined: Thu Jan 31, 2013 4:23 pm

Re: Blank Admin CMSMS 1.11.7

Post 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
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Blank Admin CMSMS 1.11.7

Post by velden »

You probably do not have php 5.3+ which is a requirement for many modules if not cmsms itself.
delve2013
Forum Members
Forum Members
Posts: 91
Joined: Thu Jan 31, 2013 4:23 pm

Re: Blank Admin CMSMS 1.11.7

Post 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.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Blank Admin CMSMS 1.11.7

Post 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.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Blank Admin CMSMS 1.11.7

Post by Rolf »

System information?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
delve2013
Forum Members
Forum Members
Posts: 91
Joined: Thu Jan 31, 2013 4:23 pm

Re: Blank Admin CMSMS 1.11.7

Post 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.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Blank Admin CMSMS 1.11.7

Post 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.
delve2013
Forum Members
Forum Members
Posts: 91
Joined: Thu Jan 31, 2013 4:23 pm

Re: [SOLVED] Blank Admin CMSMS 1.11.7

Post by delve2013 »

The hosting company may have made an error and changed the php version.
Post Reply

Return to “Modules/Add-Ons”