Low memory loading modules + admin CSS not loading.

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
vesperto

Low memory loading modules + admin CSS not loading.

Post by vesperto »

I've recently started goofing around with site building so i've given use to an old Pentium with 160RAM. It's running LAMP: Linux Debian 4.1 with a "minimal" install; Apache 2.2.3; mySQL Ver 14.12 Distrib 5.0.32; PHP 5.2.0-8. I've installed from packages.deb even though i'd rather compile from source - i'll do that in the future and use Open BSD just for the hell of it. Oh, CMSMS is 1.2, got it a few days ago.

It's a local server, just for sand-boxing really. When running the services, without any browser-use, it usually has around 32MB of free RAM. The problems started when i tried loading the captcha module, it gave some error that was memory-related. From then on, the CSS on the admin section (after login) won't load. I guess this particular issue is similar to this post:

http://forum.cmsmadesimple.org/index.php?PHPSESSID=83ef0f50119f5551b5a49935d0a039d0&topic=4792.msg26764#msg26764

I did find readfile:

Code: Select all

root@retservilo/var/www/cmsmadesimple-1.2/admin> grep readfile * -R 
loginstyle.php: readfile(dirname(__FILE__)."/themes/default/css/style.css");
style.php:      readfile(dirname(__FILE__)."/themes/".$theme."/css/".$style);
style.php:      readfile(dirname(__FILE__)."/themes/default/css/".$style);
tab.php:        readfile(dirname(__FILE__)."/themes/$theme/tab.css");
tab.php:        readfile(dirname(__FILE__)."/themes/default/tab.css");
Since i'm runing it myself, does anyone know how to permit readfile to be used? I guess that's a little off-topic since it's either dealt with configuring Apache or PHP, not CMSMS.


The second issue i have is that ever since the instalation of that module failed (guess it was a partial install), i can't even access the modules. Now i get this:

Code: Select all

Warning: require_once(/var/www/cmsmadesimple-1.2/modules/Captcha/lib/classes/module/class.captcha.php)
[function.require-once]: failed to open stream: No such file or directory in /var/www/cmsmadesimple-1.2/modules/Captcha/Captcha.module.php on line 47
thrown by admin/listmodules.php, where line 47 is a white space. I know the captcha module hasn't been isntalled but apaprently that's registered as a yes somewhere in the database...


Yes, i oughta use a machine with more RAM, but for now, that's all i have. I'd like to solve at least the partial install issue.
Any suggestions will be welcome.
Last edited by vesperto on Sun Oct 28, 2007 6:40 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Low memory loading modules + admin CSS not loading.

Post by Dr.CSS »

You may have to FTP to your server and delete what folder/files from the module there are...
Locked

Return to “[locked] Installation, Setup and Upgrade”