Page 2 of 3

Re: Error message - nocache on install

Posted: Fri Apr 28, 2006 11:15 am
by stup
Can I check this by querying one of the tables?

Re: Error message - nocache on install

Posted: Fri Apr 28, 2006 11:19 am
by Russ
Can you use Admin? Delete any page that may exist and create a new one?

Russ

Re: Error message - nocache on install

Posted: Fri Apr 28, 2006 12:05 pm
by stup
Admin all works fine. Are you suggesting that I should delete the demo site and start from scratch?

Re: Error message - nocache on install

Posted: Fri Apr 28, 2006 2:05 pm
by Russ
It maybe worth a go? It's only a few pages. Then create a new one and clear the cache from within admin etc.

Russ

Re: Error message - nocache on install

Posted: Thu May 04, 2006 12:25 am
by limestone
I have exactly the same problem.

After a great deal of research, I may be able to shed a little light...

The {nocache.......} stuff is (as you may already know) unprocessed Smarty cache references. There is a thread on the Smarty forum http://www.phpinsider.com/smarty-forum/ ... c&start=15 discussing this at the moment. What appears to be happening is that something crashes and produces the 500 error, then next time Smarty runs it finds some out-of-step cache entries which it doesn't recognise, so it ignores them and they get output.

But that's only a symptom of the actual problem, which is whatever is causing the 500 error in the first place. My current thinking is that it's related to PHP 5 (I'm on 5.0.5) and maybe suexec, having problems with directory permissions.

This page http://www.hostmagik.info/phpsuexec.php gives some useful info, and suggests a potential problem under certain conditions with having php flags/values and directives in .htaccess - which the distributed htaccess.txt does include.

However, it's still not solved - the problem is still there - we just might be a bit nearer to understanding it?

Re: Error message - nocache on install

Posted: Thu May 04, 2006 8:44 am
by stup
Thanks for your investigations. If you come across anything else (even more questions), I'd appreciate it if you could post. There must be loads of people running this on PHP 5.0.5?

Re: Error message - nocache on install

Posted: Thu May 04, 2006 9:01 am
by Russ
Has any of you tried deleting your tmp directory and replace it with a clean one?
Don't forget to re-set the rights.

Russ

Re: Error message - nocache on install

Posted: Thu May 04, 2006 9:14 am
by limestone
Has any of you tried deleting your tmp directory and replace it with a clean one?
Just tried it, but no good.

stup, what server setup are you on?

This is really frustrating - I'll come clean - I only tried CMSMS because I couldn't get Joomla or Mambo to work either, due to similar problems. Then I found CMSMS and it looked like exactly the sort of system I wanted. And I will probably stick with it if I can resolve this problem, as I'm convinced it is the right tool for this particular job.

It's getting to the stage where I'm going to have to ditch this hosting deal and find another host. Trouble is, you can only know if a system is going to work after you've paid the money!  :(

Re: Error message - nocache on install

Posted: Thu May 04, 2006 10:32 am
by stup
I guess there may be hosts who will let you try before you buy. My hosting is with UK Host 4U and is a Linux box.

MySQL 4.1.18-standard
PHP 5.0.5
Apache 1.3.34

Everything else about the hosting is great so I'd rather not switch. It's looking like it may be the only way out though (I wish there was a smiley for sweating profusely).

Can anyone suggest a good cheap host on which CMSMS builds with no problems.

Re: Error message - nocache on install

Posted: Thu May 04, 2006 11:08 am
by Russ
I think most hosts are on PHP 4 not 5. I think I read somewhere that only 6% are PHP 5+?

Locally I run (on Mac OS X box)
Apache/1.3.33 (Darwin)
PHP/5.1.2  (I can also use PHP 4 at home and both work)
MySQL 4.1.14 (Bit old on macs and never got round to upgrading)

On our test site is hosted at 1&1 http://oneandone.co.uk/ on Linux. I don't want to say anthing good or indeed bad about them, they only host our test site, but CMS does work.

Our test/play site is on their dev package.
http://www.cms.shoesforindustry.net/
Apache/1.3.33 (Unix)
PHP Version 4.4.2 (You can run PHP5 in some sort of cgi way - set in .htaccess -  PHP Version 5.1.2)
(Actually I just switched our test site over to using PHP 5.1.2 and it seems fine.)
MySQL 4.0.25 (Also you can choose MySQL5.0 - not sure what version - but I havn't used it yet)

Is still think it is a cache, rights or no-data in table problem. Does your host have access to the db with something like phpMyAdmin? Can you look at your content table and see what if there is any data? Check the user you have given cms has rights to read and write?

Hope this helps,

Russ

Re: Error message - nocache on install

Posted: Thu May 04, 2006 11:42 am
by stup
OK so its not a PHP 5 problem.

The MySQL user that I created for the installation has all rights. I imagine I wouldn't have got through the installation and have a working admin panel if this were the problem. I've tried adding new users in /admin/ and they appear in the user table OK.

So that's 2 possibles ruled out.

Works fine on my Mac too but that is on the end of a sluggish line so is only good for development.

Re: Error message - nocache on install

Posted: Thu May 04, 2006 11:53 am
by Russ
And your content table has data? Sorry trying to cover every base.

Russ

Re: Error message - nocache on install

Posted: Thu May 04, 2006 12:08 pm
by stup
Yep. 21 rows in the content table. Please don't apologise, I really appreciate the help. Thanks.

Re: Error message - nocache on install

Posted: Thu May 04, 2006 1:04 pm
by Russ
OK stup, do you have ssh access? I can have a look some time today?

Russ

Re: Error message - nocache on install

Posted: Thu May 04, 2006 1:39 pm
by stup
Fraid not. I have cPanel and FTP. I can give you access to either if required.