Page 1 of 1

[now have a workaround] WAMP and an imported site

Posted: Wed Oct 27, 2010 12:58 am
by Andrew Prior
I have imported a bonde site to the latest wamp on a home windows machine to test some upgrade work I need to do. I am wondering if people's general knowledge can assist with two questions about what may be  limitations with a wamp install.

ISSUE ONE:   I find that the Module Manager will not upgrade modules with either a new install of CMS Made Simple 1.8, or my imported site. I can upgrade modules doing an xml import.
QUESTION:    Does this sound, in anyone's experience, like a WAMP limitation? I don't want to do a whole lot of work, import back to my production server, and then find that I have to upgrade everything manually in future.

ISSUE TWO:   On the imported site I have pretty URLs set to the form fred.com/page.html  I cannot view pages in my imported site beyond the front page. If I enter page addresses in the following format, the site works. http://localhost/index.php?page=page  Obviously my pretty url is broken.  But this is set up only in .htaccess, as I remember it, and nothing has changed there.


QUESTION: is there a WAMP limitation or  peculiarity that  people know about which may be causing this? Again, I can work around this, but I don't want to import a problem back into my life site.
Many thanks. Andrew

Re: WAMP and an imported site

Posted: Wed Oct 27, 2010 1:37 am
by Dr.CSS
I've seen both problems on PC installed sites, module manager needs an fopen thing to work and most likely it will work on the production server, try it on a module, the pretty URL has a tendency to not work maybe because windows doesn't recognize a .htaccess file for what it is...

I just tested it on my XAMPP install and no pretty URLs don't work, but my Module manager does work...

Re: WAMP and an imported site

Posted: Wed Oct 27, 2010 2:52 am
by Andrew Prior
Thanks mate.  Looks like my host will give me some space to play with.  :D This might help with the problem.

Re: [now have a workaround] WAMP and an imported site

Posted: Wed Oct 27, 2010 4:32 am
by Nullig
I use WAMP and have no problems with Module Manager and pretty URLs with .htaccess.

Make sure your WAMP Apache has mod_rewrite enabled and make sure your php.ini file has large enough settings for memory_limit, max_execution_time, post_max_size and upload_max_filesize.

Also, check the paths in your rewritebase in your .htaccess file, as you should have CMSMS in a sub directory, not the root directory.

Nullig

Re: [now have a workaround] WAMP and an imported site

Posted: Wed Oct 27, 2010 5:44 pm
by Dr.CSS
OK, I stand corrected, pretty URLs do work, I just had to be smart enough to remember to use...

#Sub-dir e.g: /cmsms
RewriteBase /myfolder