System Information - Page shows up blank
System Information - Page shows up blank
I just installed SystemInfo 0.1.1 in my cmsms 1.0.2 and other than the horizontal menu for the module, the page is blank. this is using firefox on a Mac. It does seem that that pages flashes with something really quickly when the sysinfo page first loads, but after the flash, it is devoid of any information.
Re: System Information - Page shows up blank
I get the same... at the end of the "flash", this line is present:
str_ireplace is a PHP5 only function.
Replacing the str_ireplace instances in phpinfo.php with str_replace, gives another error:
Code: Select all
PHP Fatal error: Call to undefined function: str_ireplace() in /path/to/cmsms/modules/SystemInfo/phpinfo.php on line 8
Replacing the str_ireplace instances in phpinfo.php with str_replace, gives another error:
Code: Select all
PHP Fatal error: Call to a member function on a non-object in /path/to/cmsms/modules/SystemInfo/external/phpsysinfo/includes/common_functions.php on line 337
Re: System Information - Page shows up blank
According to modules/SystemInfo/external/phpsysinfo/README it should be able to work with PHP 4.x
Re: System Information - Page shows up blank
replacing the instances of str_ireplace with str_replace in phpsysinfo.php also and adding/changing these lines to external/phpsysinfo/index.php fixes it. The changes are in SVN already, so you could also download an updated version of external/phpsysinfo/index.php here.
- Silmarillion
- Dev Team Member
- Posts: 483
- Joined: Sun Jan 02, 2005 9:10 pm
- Location: Denmark
Re: System Information - Page shows up blank
Version 0.1.2 is now out in the Forge with these fixes. Thanks for noticing... only running php5 at home, so I forget stuff like that from time to time...
Best regards
Morten/Silmarillion
Best regards
Morten/Silmarillion
Re: System Information - Page shows up blank
Sorry to dredge up an old thread, but I'm having the same issue noted by the OP. I'm running CMSMS 1.0.6 on a Windows 2003 shared host, with PHP 5.2.0. I've uninstalled and reinstalled the System Information module from the Module Manager, but nothing changed. As the page loads, I briefly get a glimpse of some system information, but when the page completes loading, I only the the System Information module menu, and clicking any of the tabs produces no results.
EDIT TO ADD: This happens in Explorer 6.0 and Firefox, so I don't think it's browser-related. In IE, I do get the following script error, though:
Line: 56
Char: 3
Error: Object required
Code: 0
URL: http://mywebaddress/admin/moduleinterfa ... SystemInfo
I don't know if this error has anything to do with this issue.
Any ideas?
EDIT TO ADD: This happens in Explorer 6.0 and Firefox, so I don't think it's browser-related. In IE, I do get the following script error, though:
Line: 56
Char: 3
Error: Object required
Code: 0
URL: http://mywebaddress/admin/moduleinterfa ... SystemInfo
I don't know if this error has anything to do with this issue.
Any ideas?
Last edited by jmcgin51 on Wed Jun 06, 2007 3:27 pm, edited 1 time in total.
Re: System Information - Page shows up blank
Is your php memory limit set to 8M?
Nullig
Nullig
Re: System Information - Page shows up blank
I'm checking with my host - should it be 16MB instead?
I've asked them to set it to 16MB, so what is the next step if a 16MB limit doesn't correct the problem?
Thanks for the response!
I've asked them to set it to 16MB, so what is the next step if a 16MB limit doesn't correct the problem?
Thanks for the response!
Re: System Information - Page shows up blank
Whenever I've had this problem, setting it to 16M usually works.
You could try adding:
ini_set("memory_limit", "16M");
near the top of your config.php file, to see if it makes a difference for you
Nullig.
You could try adding:
ini_set("memory_limit", "16M");
near the top of your config.php file, to see if it makes a difference for you
Nullig.
Re: System Information - Page shows up blank
thanks, I'll let you know if a 16MB limit fixes the problem...
Re: System Information - Page shows up blank
well, my host responded and said that my account is already set to a 16MB PHP memory limit, so I added the
"ini_set("memory_limit", "16M");" line to my config.php file, but it doesn't appear to have made any difference. I still just get the quick flash of information and then nothing...
Other ideas?
"ini_set("memory_limit", "16M");" line to my config.php file, but it doesn't appear to have made any difference. I still just get the quick flash of information and then nothing...
Other ideas?
Re: System Information - Page shows up blank
Have you set your permissions correctly to give the admin group access to SystemInfo?
You could also try installing it via FTP, instead of the XML file.
Nullig
You could also try installing it via FTP, instead of the XML file.
Nullig
Re: System Information - Page shows up blank
Interesting - I don't have any SystemInfo items in my permissions list at all, so I can't select it for the Admin user. Also interestingly, I only have one Admin user (me), and I haven't given myself access to all parts of the site, yet I do have access to all parts of the site (calendar, quizzard, questions/answers, etc.)
Is this a default setting so that if you're the only Admin, you have rights by default, or is this a significant bug?
And why don't I have a SystemInfo checkbox in my permissions list?
I'll try the FTP install...
thanks
Is this a default setting so that if you're the only Admin, you have rights by default, or is this a significant bug?
And why don't I have a SystemInfo checkbox in my permissions list?
I'll try the FTP install...
thanks
Re: System Information - Page shows up blank
Sorry, I got confused about the admin group rights - it doesn't have any permissions to set.
Nullig
Nullig
- Silmarillion
- Dev Team Member
- Posts: 483
- Joined: Sun Jan 02, 2005 9:10 pm
- Location: Denmark
Re: System Information - Page shows up blank
Well, I also get a blank page and I did the module... I'll look into it!
sil.
sil.