Installation problems

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
prendo

Installation problems

Post by prendo »

Hi,

I'm running:

Latest CMS Version  'cmsmadesimple-1.0.4.zip'
Linux Server (shared space)
My ISP is 1&1.co.uk
PHP version    PHP/5.2.0
MySQL version    4.0.27
FTP program is FileZilla 2.2.30a

I have completely installed, removed and reinstalled CMSMS 3 times at present and keep getting similar problems. I can get through all the major steps of installation without a hitch until the very end when I get a 404 error when I try to view the site. Apologies if this has been covered before - I've read through 5 pages of previous posts and haven't found anything that looks exactly the same yet.

Here's a full rundown of every step that I went through, and where the error occurs (Thanks):

Quick Install via FTP

Step 1
Downloaded the latest stable release of cmsmadesimple eg Version 1.0.4.zip

Step 2
Unzipped file with WinZip to a directory on my local computer.

Step 3
Uploaded all files in the exact same structure to the root of my hosts LINUX server.

Step 4
Changed permissions of the following files and directories on the server.
CHMOD to 777:

tmp (I added the tmp directory to the generic list after reading this advice in a previous post on this forum)
tmp/templates_c
tmp/cache
uploads
uploads/images
modules


Step 5
The config.php file was automatically created during the installation on my 1&1 server space.

Step 6
My host only allows me to use one MySQL database and I already had this set up.

I used my existing database and settings for this (and used the username and password that I already used to login into my database). I left in the standard 'CMS_' prefix for the CMSMS tables (step 10 below) that separates the CMSMS tables from other tables I'm also using in the same database.


Step 7
Now, in my browser, I typed the URL of the directory where I put the files (step 3), e.g. http://www.danielprendergast.co.uk/cmsm ... /index.php.
This took me to the installation wizard.

Step 8
The first screen indicated that all tests were successful (all green ticks and green lights),
I then clicked Continue.

Step 9
I now selected a user name, e-mail address, and password for the admin and ticked the box for an email to confirm this.
I then clicked Continue.


Step 10
In the next step I entered the database information.
For the Site Name I left the default title eg 'CMS Made Simple Site'
For Database name, Username and Password, I entered the information exactly the same as outlined in my hosts MySQL control panel.
The table prefix I left as the default 'cms_'

Note: I unchecked the box to Create tables as I use an existing database with content that I didn't want to remove.
I then clicked Continue.

Step 11

Everything seemed to be fine at this stage as I had got to stage 4 of the installation and I got the message 'Thanks for installing CMS Made Simple'

As advised in the CMSMS User Handbook I made a note of the following details:

CMS Document root (as seen from the webserver)
Path to the Document root
Query string (leave this alone unless you have trouble, then edit config.php by hand) - page

Step 12
I went to my FTP program again and set permissions for config.php to 444 for security reasons!

I then removed the /install directory completely, as instructed in the User Handbook.

Step 13
Wento to site and read the first page carefully.


Step 14 (see Step 11)
I then went back to the stage 4 page and clicked on continue)
At this point I got a blank page in the browser and an 'Error 404 - Not found' in the title bar of the browser.

Step 15
At this point I rang my host and told them about the problems I was having. They suggested that I update the file config.functions.php (in the /cmsmadesimple/lib/ directory) with the Database hostname, username, password & db name.
This I did and updated on the server.

Step16
I went back through the steps and tried again. This time I managed to get to the admin page but when I signed in I got an error message saying 'Username or password incorrect' even though I was careful to ensure this was exactly right.

PS. I'm more of a designer than programmer so please be kind enough to explain any technical descriptions/solutions etc.

Thanks
Pierre M.

Re: Installation problems

Post by Pierre M. »

Welcome prendo !

Thank you for reporting so greatly with details that help trying to help.

Latest version, Linux server, FileZilla, 1&1(known working hoster), successfull tests "all green ticks and green lights", intelligent user... seems good.

Hint #1 : try a totally new fresh install from scratch with full table creation and sample content. This is to try your general hosting context to narrow the problem.

Hint #2 : to achieve hint #1 (and not only hint #1) allways choose a numbered table prefix. I mean "cms_test2_" rather than just "cms_". This way you get rid of your single db limit. (you can install CMSms in /cms-test2/ by renaming the top folder).

Hint #3 : when doing hint #1, please stop at 'Thanks for installing CMS Made Simple' (step 12 and further are for OK installs) and tell us :
-can your browse the sample website at /cms-test2/ ?
-can your log in to the admin at /cms-test2/admin/ ?

Hint #4 : if OK, you could test over the sample install with the next steps and try to dump your old database and use it with the new installation if CMSms db schemas match. Please tell us where come from this 'existing database with content that [you don't] want to remove'.

Pierre M.
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: Installation problems

Post by Dee »

prendo wrote: Note: I unchecked the box to Create tables as I use an existing database with content that I didn't want to remove.
I then clicked Continue.
Skip this step, just leave the box checked. The install will only drop the tables that will be created for CMS Made Simple ( when they exist, deleting any CMS Made Simple content), so if you use the cms_ prefix it can do no harm.

Regards,
D
prendo

Re: Installation problems [RESOLVED]

Post by prendo »

SUCCESS!!!  ;D

I'm very happy now, thank you for all your support!

I initially thought that if I had checked the 'Create database' box it would have wiped my entire database clean, including everything currently in it!! ha ha, silly me  :-[

As soon as I tried the installation process again, this time checking the box, it worked perfectly right away.

Now to figure out how to set up my CMS website!  :-\
Locked

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