Hi, I'm setting up 1.1.3 (latest) cmsms on windows xp with php 5.1.2 and apache 2 as a development platform on my pc (not online). I have installed many open source projects on my pc and am an experienced user.
My main problem is that I have lines such as:
--Add Me - module:News string:news-
in the menus and wherever module related information is supposed to be. Clearly this is a problem related to modules. In addition the modules do not work properly.
Also get the message: The modules folder is not writable in the 'Modules'
admin page. I have tried every variant of using windows explorer to allow read/write access to the modules folder but it continues not to work.
First, is there a connection between the two phenomena above (no read/write access to modules folder and unconverted menu strings)?
Second, is it possible to get cmsms to work in windows XP?
Many thanks
More problems with modules and read write access (SOLVED)
More problems with modules and read write access (SOLVED)
Last edited by NewZeal on Wed Oct 03, 2007 5:55 am, edited 1 time in total.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: More problems with modules and read write access
Check your uploads folder. I think the message is a little vague. I think that the test looks to see if the modules folder AND the uploads folder are writable by the httpd process user.
Yes, it's possible to get CMS working in xamp. it's done quite regularly.
Yes, it's possible to get CMS working in xamp. it's done quite regularly.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Problems with modules: unconverted menu strings and read/write access
Thanks, Calguy, tried that, but the message is still coming up: "The modules folder is not writable".
Maybe I'll have to look at the code. (This is supposed to be CMS made simple!)
Later
I've done some debugging and in misc.functions.php line 1346 it seems my system fails all the tests:
$stat_index = @stat($file_index);
$stat_moduleinterface = @stat($file_moduleinterface);
$stat_uploads = @stat($dir_uploads);
$stat_modules = @stat($dir_modules);
None of these return true, nor do:
if( !is_writable( $dir_modules ) )
if( !is_writable( $dir_uploads ) )
I'm not sure what to do next.
Later: Anyway read/write access to the modules folder is the least of my problems. If it is unrelated, the munged menu strings is of greater significance in not being able to use cmsms.
I have retried installing cmsms, using an earlier version and still the same problems, including the following when I go to the site:
Maybe I'll have to look at the code. (This is supposed to be CMS made simple!)
Later
I've done some debugging and in misc.functions.php line 1346 it seems my system fails all the tests:
$stat_index = @stat($file_index);
$stat_moduleinterface = @stat($file_moduleinterface);
$stat_uploads = @stat($dir_uploads);
$stat_modules = @stat($dir_modules);
None of these return true, nor do:
if( !is_writable( $dir_modules ) )
if( !is_writable( $dir_uploads ) )
I'm not sure what to do next.
Later: Anyway read/write access to the modules folder is the least of my problems. If it is unrelated, the munged menu strings is of greater significance in not being able to use cmsms.
I have retried installing cmsms, using an earlier version and still the same problems, including the following when I go to the site:
string(118) "Smarty error: [in template:17 line 9]: syntax error: unrecognized tag 'sitename' (Smarty_Compiler.class.php, line 590)" string(115) "Smarty error: [in template:17 line 9]: syntax error: unrecognized tag 'title' (Smarty_Compiler.class.php, line 590)" string(119) "Smarty error: [in template:17 line 12]: syntax error: unrecognized tag 'metadata' (Smarty_Compiler.class.php, line 590)" string(121) "Smarty error: [in template:17 line 15]: syntax error: unrecognized tag 'stylesheet' (Smarty_Compiler.class.php, line 590)" string(123) "Smarty error: [in template:17 line 18]: syntax error: unrecognized tag 'cms_selflink' (Smarty_Compiler.class.php, line 590)" string(123) "Smarty error: [in template:17 line 19]: syntax error: unrecognized tag 'cms_selflink' (Smarty_Compiler.class.php, line 590)" string(123) "Smarty error: [in template:17 line 20]: syntax error: unrecognized tag 'cms_selflink' (Smarty_Compiler.class.php, line 590)" string(117) "Smarty error: [in template:17 line 52]: syntax error: unrecognized tag 'anchor' (Smarty_Compiler.class.php, line 590)" string(117) "Smarty error: [in template:17 line 53]: syntax error: unrecognized tag 'anchor' (Smarty_Compiler.class.php, line 590)" string(123) "Smarty error: [in template:17 line 64]: syntax error: unrecognized tag 'cms_selflink' (Smarty_Compiler.class.php, line 590)" string(117) "Smarty error: [in template:17 line 72]: syntax error: unrecognized tag 'search' (Smarty_Compiler.class.php, line 590)" string(122) "Smarty error: [in template:17 line 79]: syntax error: unrecognized tag 'breadcrumbs' (Smarty_Compiler.class.php, line 590)" string(115) "Smarty error: [in template:17 line 94]: syntax error: unrecognized tag 'menu' (Smarty_Compiler.class.php, line 590)" string(116) "Smarty error: [in template:17 line 101]: syntax error: unrecognized tag 'news' (Smarty_Compiler.class.php, line 590)" string(117) "Smarty error: [in template:17 line 111]: syntax error: unrecognized tag 'print' (Smarty_Compiler.class.php, line 590)" string(117) "Smarty error: [in template:17 line 112]: syntax error: unrecognized tag 'title' (Smarty_Compiler.class.php, line 590)" string(119) "Smarty error: [in template:17 line 113]: syntax error: unrecognized tag 'content' (Smarty_Compiler.class.php, line 590)" string(118) "Smarty error: [in template:17 line 118]: syntax error: unrecognized tag 'anchor' (Smarty_Compiler.class.php, line 590)" string(124) "Smarty error: [in template:17 line 121]: syntax error: unrecognized tag 'cms_selflink' (Smarty_Compiler.class.php, line 590)" string(124) "Smarty error: [in template:17 line 122]: syntax error: unrecognized tag 'cms_selflink' (Smarty_Compiler.class.php, line 590)" string(126) "Smarty error: [in template:17 line 138]: syntax error: unrecognized tag 'global_content' (Smarty_Compiler.class.php, line 590)"
Last edited by NewZeal on Sun Sep 30, 2007 12:23 am, edited 1 time in total.
Re: More problems with modules and read write access
I believe that even if it is on a local pc you have to FTP to it to change permissions, as that seems to be your problem...
Re: More problems with modules and read write access
Thanks for the suggestion, Mark.
The problem seems to be that the php stat() function is returning false.
Later:
PROBLEM SOLVED
I checked the urls that the stat() function was processing and the directory name cmsmadesimple was truncated to cmsmadesi so the stat returned false because the files/directories were non-existent. These were sourced from config.php which was created during the install. I changed all instances of 'cmsmadesi ' in config.php to 'cmsmadesimple', went back into the admin area and voila! everything works!!
Thanks for your time
The problem seems to be that the php stat() function is returning false.
Later:
PROBLEM SOLVED
I checked the urls that the stat() function was processing and the directory name cmsmadesimple was truncated to cmsmadesi so the stat returned false because the files/directories were non-existent. These were sourced from config.php which was created during the install. I changed all instances of 'cmsmadesi ' in config.php to 'cmsmadesimple', went back into the admin area and voila! everything works!!
Thanks for your time
Last edited by NewZeal on Wed Oct 03, 2007 5:55 am, edited 1 time in total.