Page 1 of 1

CMSMS mamxing out 1GB virtual ram

Posted: Tue Jul 30, 2013 2:16 am
by pcp20us
Hi all.

I am having problems with my CMSMS site. IT was all working fine, but know having problems.

It is maxing out my virtual memory of 1 GB on my hosting.

I have reloaded an older backup that was working, and same problem.

The error log on my cpanel is showing error log below.



[Tue Jul 30 12:02:02 2013] [error] [client 118.209.64.107] File does not exist: /home/noosaima/public_html/cmsms/niftyCorners.css, referer: http://noosaimages.com.au/cmsms/
[Tue Jul 30 12:02:02 2013] [error] [client 118.209.64.107] File does not exist: /home/noosaima/public_html/cmsms/images/bg.gif, referer: http://selfsustain.com.au/stylesheet.php?cssid=50
[Tue Jul 30 12:01:59 2013] [error] [client 118.209.64.107] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/noosaima/public_html/cmsms/stylesheet.php, referer: http://noosaimages.com.au/cmsms/
[Tue Jul 30 12:01:59 2013] [error] [client 118.209.64.107] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/noosaima/public_html/cmsms/stylesheet.php, referer: http://noosaimages.com.au/cmsms/
[Tue Jul 30 12:01:59 2013] [error] [client 118.209.64.107] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/noosaima/public_html/cmsms/stylesheet.php, referer: http://noosaimages.com.au/cmsms/


cmsms 1.9.1. I know this is old but it is latest version to support my current theme.


Running on
Apache version 2.2.24
PHP version 5.3.25
MySQL version 5.5.25-cll
Architecture x86_64
Operating system linux
Perl version 5.8.8
Kernel version 2.6.32-379.22.1.lve1.2.17.1.el6.x86_64
cPanel Pro 1.0 (RC1)

Re: CMSMS mamxing out 1GB virtual ram

Posted: Tue Jul 30, 2013 4:56 pm
by Dr.CSS
Your current theme? Do you mean the page theme/template, if so any template/theme can run in any version of CMSMS, you just may need to change a couple of calls at the most...

Upgrade or we can't help you...

Re: CMSMS mamxing out 1GB virtual ram

Posted: Fri Aug 02, 2013 6:58 am
by pcp20us
Hi

Ok I have cmcms 11.1.7 installed.

I have uploaded my theme. However i have lost my menus.
To start i had to modify the stylesheet to cms_stylesheet. as per doco. this gets the theme up.

Withis this step.

Open style sheets and change image calls:
old url(uploads/folder/image.jpg)
new url([[root_url]]/uploads/folder/image.jpg)

I am unclear where to modify the urls
If i open my stylesheets, attached to my theme, I have modified such lines as these.
background: url(images/cms/logo1.jpg) no-repeat 0 12px;to
background: url([[root_url]]/images/cms/logo1.jpg) no-repeat 0 12px;.
because this blows the image away, so think i got it wrong?

what do i need to actually change, just uploads/folder or all urls in the stylesheets?

I have also lost my menu, but receive no smarty errors, is there debugging i can turn on to get some results.

Thanks

Re: CMSMS mamxing out 1GB virtual ram

Posted: Sat Aug 03, 2013 12:00 am
by pcp20us
I see i posted this is the lounge, Can i move it to a more relevant area, to see if i can get some help

ta

Re: CMSMS mamxing out 1GB virtual ram

Posted: Sat Aug 03, 2013 5:35 pm
by Dr.CSS
When you import a theme it most times makes a folder for it's images and should change the style sheet to point to it, most aren't images/cms/ so I would suspect that path is wrong, look in file manager for any folders with the theme name...

The menu call may be wrong, look in template for the menu call {menu template='sometemplate'} then look in Menu manager for a new template that could be your new one...

This happens on some real old themes...

You haven't said which theme you tried to import...

Re: CMSMS mamxing out 1GB virtual ram

Posted: Mon Aug 05, 2013 2:12 am
by pcp20us
Hi

Ok running 1.11.7.

This is the path i am receive for my header image, below
The requested URL /tmp/cache/uploads/GrassStains/header.jpg was not found on this server.

Where do i find where it is getting the /tmp/cache/ directory, as i have the header set to
background: #ffffff url(uploads/GrassStains/header.jpg) no-repeat;

Thanks

Re: CMSMS mamxing out 1GB virtual ram

Posted: Mon Aug 05, 2013 2:15 am
by pcp20us
OK.

Got it sorted, modified this
background: #ffffff url(uploads/GrassStains/header.jpg) no-repeat;
to
background: #ffffff url([[root_url]]/uploads/GrassStains/header.jpg) no-repeat;

And now have a header, Hope this can help someone.

Re: CMSMS mamxing out 1GB virtual ram

Posted: Mon Aug 05, 2013 5:16 pm
by Dr.CSS