Part of the EllisLab Network
pMachine Pro has been replaced by ExpressionEngine, our full featured web publishing solution. Please consider upgrading.
You can download pMachine Pro here: Download pMachine Pro  |  Download Language Packs
   
 
basic installation problems… localhost and file placement
Posted: 28 March 2007 03:57 PM   [ Ignore ]  
Summer Student
Total Posts:  3
Joined  2002-12-10

I’m having some trouble on page 2 of the installation, pmachine cannot communicate with my db.

My website is clay.bellmor.com, an offshoot of bellmor.com. I installed the contents of the pmachine folder into the same directory as my site content, which is clay.bellmor.com/pfc/.

I didn’t rename pm, so my config.php looks like this:

localhost="http://clay.bellmor.com/pfc/"
db user name="clay_jinks" note: my cpanel automatically tacks on ‘clay_’ to everything in mysql.
db="clay_pmachine"
db password=...well, that’s private.

When page 2 of the installation loads, it simply states that it cannot connect. I don’t know what to fix… my cpanel is acting weird… loading a page takes a minute or two, literally. But sites hosted on the server load fine… so I don’t know if my server-side programs are in chaos. I don’t actually maintain the server… so I wouldn’t know.

I don’t know if this is enough information to see a problem. I keep thinking my localhost name is incorrect; I’ve installed the contents of pMachine into the /pfc/ directory of clay.bellmor.com… so I figured that http://clay.bellmor.com/pfc/ was correct.

Any help would be great. I was ecstatic to learn pmachine is free. I reviewed it 5 years ago… glad to see it still rocks.

thanks!

-Clayton

Profile
 
 
Posted: 28 March 2007 04:05 PM   [ Ignore ]   [ # 1 ]  
Summer Student
Total Posts:  3
Joined  2002-12-10

UPDATE:
Here’s a note from my cpanel.

Current Databases:
clay_pmachine

Users in pmachine
clay_jinks (Privileges: ALL PRIVILEGES)

Connection Strings
Perl $dbh = DBI->connect("DBI:mysql:clay_pmachine:localhost”,"clay_jinks","<PASSWORD HERE>");
PHP $dbh=mysql_connect ("localhost", “clay_jinks”, “<PASSWORD HERE>") or die (’I cannot connect to the database because: ‘ . mysql_error());
mysql_select_db ("clay_pmachine");

The last string, so it seems there is a problem with my mysql…

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 233, on December 18, 2007 12:04 AM
Total Registered Members: 60274 Total Logged-in Users: 0
Total Topics: 72331 Total Anonymous Users: 0
Total Replies: 389923 Total Guests: 53
Total Posts: 462254    
Members ( View Memberlist )
Newest Members:  seolrrshredbettiesVan HuydaiynaDavid KiMiloDaniel MorrisonfactoryvintagePirxDavid_il
Active Members: