MonkeyCMS Forum

Go Back   MonkeyCMS Forum > MonkeyCMS > Installation and Configuration Discussion
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 04-22-2007, 01:55 PM
Cockeye
 
Posts: n/a
Default A muppets experience of working with Monkey CMS

Ok, I'm here, and I thought I would generally post my experiences of working with Monkey CMS from a complete muppets point of view.

Please bear in mind that you guys are all streets ahead of me in terms of skill and experience. I'm proud to be able to Beta test this, but the minute I become a pain then do not hesitate to shout.

My first experience is with the install itself. Now, I'm not sure if it is only the Beta version where you have to manually edit the database details php file within the admincp folder or whether you will have to do this with the final version. One thing I will say, however, is that unless I am being very stupid, I cannot find the actual file you need to edit in the downloaded package anywhere

I'm sure it's me being stoopid again!
Reply With Quote
  #2  
Old 04-22-2007, 02:43 PM
Colin Colin is offline
Administrator
 
Join Date: Apr 2007
Posts: 1,593
Default

Nah - that might be my mistake.

Try running the install without that file and let me know if it works - there is code in there to cater for instances when that file isn't in place. If not, I'll attach a copy of the missing file for you.
Reply With Quote
  #3  
Old 04-22-2007, 03:22 PM
Cockeye
 
Posts: n/a
Default

I did try and run the install without but it didn't work. It didn't seem to want to connect to the mysql database. It came up with an install screen with a load of meaningless (to me) strings in each box but when I entered the value of the database and click test path it just reset to the strings again.
Reply With Quote
  #4  
Old 04-22-2007, 04:19 PM
Colin Colin is offline
Administrator
 
Join Date: Apr 2007
Posts: 1,593
Default

Can you post a screenshot for me, as that doesn't sound right at all. What did you click when it reset?
Reply With Quote
  #5  
Old 04-22-2007, 07:56 PM
Cockeye
 
Posts: n/a
Default

No problem. By the way, I got a blank email from you earlier, Colin!

Anyway, if I go straight to my localhost/monkey address I get this:

Warning: include(admincp/dbdetails.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\monkeycms\global.php on line 45

Warning: include() [function.include]: Failed opening 'admincp/dbdetails.php' for inclusion (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\monkeycms\global.php on line 45

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\monkeycms\global.php on line 119
There was a problem connecting to your database server. Please check the information in the admincp/dbdetails.php file is correct


which is to be expected, I guess, as I although I have set up a database, monkey doesn't know the details.

So, going to the install gives me this:

Hey that completely bizarre! Going to the install sets up the site for me perfectly! I really don't think I did anything different - but hey Colin - at least you know even a muppet can install it now!
Reply With Quote
  #6  
Old 01-27-2010, 06:40 PM
planetShhhh planetShhhh is offline
Junior Member
 
Join Date: Jan 2010
Location: London
Posts: 2
Default

I'm having a similar problem.


my dbdetails.php file has root no password.
My db is setup with root no password.

The error is saying "odbc@localhost" instead of "root".

How can I solve this?
Reply With Quote
  #7  
Old 01-28-2010, 06:48 AM
Colin Colin is offline
Administrator
 
Join Date: Apr 2007
Posts: 1,593
Default

Quote:
Originally Posted by planetShhhh View Post
I'm having a similar problem.


my dbdetails.php file has root no password.
My db is setup with root no password.

The error is saying "odbc@localhost" instead of "root".

How can I solve this?
What platform/OS are you on?
Reply With Quote
  #8  
Old 01-28-2010, 02:15 PM
planetShhhh planetShhhh is offline
Junior Member
 
Join Date: Jan 2010
Location: London
Posts: 2
Default

XP

Windows7 is a pain with XAMPP
Reply With Quote
  #9  
Old 01-28-2010, 03:04 PM
TheoGB TheoGB is offline
Junior Member
 
Join Date: Jan 2010
Posts: 2
Default

Hi Colin,

I was trying this out too. In XAMPP 1.7.3 for some reason the include of the ../admincp/dbdetails.php file fails to actually populate the DB fields. I went back to my older 1.7.0 edition of XAMPP (the one that isn't weighed down by ridiculous 'install/uninstall' procedure) and the install worked perfectly with a copy of the same idea.

I guess maybe register globals or something similar isn't turned on in PHP.INI. Any idea off hand what the setting might be that's controlling this?
Reply With Quote
  #10  
Old 01-30-2010, 12:58 PM
chrisjlocke chrisjlocke is offline
Super Moderator
 
Join Date: Apr 2007
Location: Essex, UK
Posts: 1,052
Default

Its not pulling in the dbdetails file as it doesn't know where the admin folder is. That should be set when it pulls in adminfolder.inc, but that variable isn't getting set. Unsure why not. Might be something to do with the paths? Does it need to know that it has the search the local path first? My Linux knowledge is flaky, but I remember scripts always had to be ./filename.ext as you couldn't just put filename.ext. Maybe thats whats changed between 1.7.3 and 1.7.0.

A workaround is to set the variable in global.php. Open this file, and near the top, find include("adminfolder.inc");. Just under that, add this line: $adminfolder="admincp";
All should be well again.

On a side note, I've just installed 1.7.3 in Windows 7 with no problems. I presume you've read the 'readme' about not installing it in 'Program Files'?
__________________
http://www.cscomputerservices.co.uk/ | Providing complete computer solutions | Web hosting with MonkeyCMS pre-installed

Last edited by chrisjlocke : 01-30-2010 at 01:03 PM.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump


All times are GMT. The time now is 07:08 AM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© Poisonous Monkey