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
   
 
Installation and Login issues
Posted: 21 February 2005 01:56 PM   [ Ignore ]  
Summer Student
Total Posts:  10
Joined  2002-10-09

Running PMachine on a Mac OSX Server…I just moved the database from the old server to a new one.  Also moved the pMachine files.  Everything works fine except:

1) Can’t login to control panel.  I get the login page refreshed.  Tried changing the $use_session_id to “1” but that did nothing.  Also have Debug turned on an no messaging!  Help!

2) Forum does not appear (though all other weblogs do).  It’s showing total entry numbers and such, but nothing within.

Any advice?

Profile
 
 
Posted: 21 February 2005 05:37 PM   [ Ignore ]   [ # 1 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  9868
Joined  2002-06-19

1. This sounds like a cookie issue.  Make sure you remove any cookies for your pM site.  Also, ensure that the $cookie_domain is set correctly for the new server.  If it’s still set for the old server, then when you login the cookies will be set, but pM won’t be able to retrieve them in order to verify you’re logged in because they aren’t valid for the new server.


2. Can you elaborate on exactly what part isn’t appearing?  Can you share a link to the site/forum?

 Signature 

Chris Curtis
chriscurtis.org

Profile
 
 
Posted: 22 February 2005 09:26 AM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  10
Joined  2002-10-09

1) My config.php file has this set:  Debug=1, redirect_method=1, cookie_domain=”“, use_session_id=1.  How do you “remove any cookies for your pM site”? 

2) Sadly, this is an Intranet here so I can’t give you access from outside the firewall, but the main “forum” page shows everything fine (including “Topics”, “Posts”, etc) but when a forum is selected, I get a page with the layout but no data underneath “topic”.

Profile
 
 
Posted: 22 February 2005 12:18 PM   [ Ignore ]   [ # 3 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  9868
Joined  2002-06-19

1. Set the “$cookie_domain” as indicated in the file.  i.e. something like “.example.com”.

You remove cookies through your browser.  The browser should have some sort of “clear cookies” option.  Many will also let you remove individual cookies if you know which ones to remove.


2. Without being able to see it, it’s going to be hard to help.  The first thing I’d check is this entry from the Knowledge-Blog.

 Signature 

Chris Curtis
chriscurtis.org

Profile
 
 
Posted: 22 February 2005 02:10 PM   [ Ignore ]   [ # 4 ]  
Summer Student
Total Posts:  10
Joined  2002-10-09

1) Chris, I set it to my domain as instructed.  I removed ALL cookies from my browser and restarted.  I’m still getting the refresh of the login page (with m=admin appended to the URL) and nothing more.  this makes no sense!  I’ve even moved the domain to the new server so the cookie thing should be irrelevant!  Is there any other reason the CP wont show?

2) Thanks, I looked in my db and everything is set to zero.  so that’s not it.  Hmmm…

Profile
 
 
Posted: 25 July 2005 02:49 PM   [ Ignore ]   [ # 5 ]  
Summer Student
Total Posts:  17
Joined  2003-01-11

I’m moving webhosts and am encountering this issue. I can see the weblog, but cannot otherwise log into my admin account. Using the debug =1 function in my config file I saw “cannot modify header” errors pointing to these lines:

                setcookie(“member_name”,”$username”,0,”/”,”$cookie_domain”,“0”);
                setcookie(“member_code”,”$member_id”,0,”/”,”$cookie_domain”,“0”);
                setcookie(“pmlanguage”,”$language”,0,”/”,”$cookie_domain”,“0”);
              return header(“location:index$sfx?sx=$sx”);

Chris can you advise me on what modifications i need to make?
Thanks very much,
janec

Profile
 
 
Posted: 25 July 2005 05:31 PM   [ Ignore ]   [ # 6 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  9868
Joined  2002-06-19

List the full and exact error message you receive when you have debugging turned on.

 Signature 

Chris Curtis
chriscurtis.org

Profile
 
 
Posted: 25 July 2005 07:37 PM   [ Ignore ]   [ # 7 ]  
Summer Student
Total Posts:  17
Joined  2003-01-11

Hi Chris: the error message was:

Warning: Cannot modify header information - headers already sent by (output started at /home/msliqcom/public_html/chinspirations/mhsourcepage/pm/config.php:261) in /home/msliqcom/public_html/chinspirations/mhsourcepage/pm/index.php on line 141

Warning: Cannot modify header information - headers already sent by (output started at /home/msliqcom/public_html/chinspirations/mhsourcepage/pm/config.php:261) in /home/msliqcom/public_html/chinspirations/mhsourcepage/pm/index.php on line 142

Warning: Cannot modify header information - headers already sent by (output started at /home/msliqcom/public_html/chinspirations/mhsourcepage/pm/config.php:261) in /home/msliqcom/public_html/chinspirations/mhsourcepage/pm/index.php on line 143

Warning: Cannot modify header information - headers already sent by (output started at /home/msliqcom/public_html/chinspirations/mhsourcepage/pm/config.php:261) in /home/msliqcom/public_html/chinspirations/mhsourcepage/pm/index.php on line 166

Thanks!
Janec

Update: I’m also requesting support from my webhost about this issue. They are asking if pmachine uses http auth to get the password and login.

Profile
 
 
Posted: 26 July 2005 12:43 PM   [ Ignore ]   [ # 8 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  9868
Joined  2002-06-19

No, pM Pro doesn’t use “http auth”.

From your error messages, it sounds like you probably have some blank spaces or lines in your config.php file.  See this entry in the Knowledge-Blog.

 Signature 

Chris Curtis
chriscurtis.org

Profile
 
 
Posted: 26 July 2005 12:52 PM   [ Ignore ]   [ # 9 ]  
Summer Student
Total Posts:  17
Joined  2003-01-11

I’ll try that, Chris, thanks very much. I did check out the knowledge blog before posting here and saw that entry. I looked for blank spaces for the php tag but I may need to delete blank lines and see if that works. I appreciate your response and always courteous help.

janec

Profile
 
 
Posted: 26 July 2005 01:06 PM   [ Ignore ]   [ # 10 ]  
Summer Student
Total Posts:  17
Joined  2003-01-11

Well, after several attempts I’ve been able to get this to work. For those who encounter the same problems in the future, I’d suggest deleting all blank lines between comments (lines that start with //)

I didn’t have this problem with my previous webhost so it looks like parsing problem.

Thanks again Chris! Now I’ll just have to figure out why my restored databases aren’t connecting to newly installed pmachine but at least I can log in.

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: 64493 Total Logged-in Users: 0
Total Topics: 81040 Total Anonymous Users: 0
Total Replies: 436106 Total Guests: 18
Total Posts: 517146    
Members ( View Memberlist )
Active Members: