Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0
This is the forum to discuss the Wrox book Beginning PHP5, Apache, and MySQL Web Development by Elizabeth Naramore, Jason Gerner, Yann Le Scouarnec, Jeremy Stolz, Michael K. Glass; ISBN: 9780764579660
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 9th, 2007, 05:45 PM
Registered User
 
Join Date: Mar 2007
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default problems with chapter 13 cms

Hello im new here and im stuck at chapter 13.
I´ve downloaded the code files from this site, just for trying out
the cms script, i have Apache 2.2 PHP 5.2.1 MySQL 5.0, that works,
when i load index.php and then login as admin@yoursite.com, admin,
the problem occurs in the address field like this:

http://localhost\/index.php

and the page couldn't be found appears, but if i go back im logged in as admin?!
I use Firefox 2.0 by the way, anyone who can help me with this problem?
i don't even now where to start looking in the code either.

Reply With Quote
  #2 (permalink)  
Old March 10th, 2007, 06:56 AM
Registered User
 
Join Date: Mar 2007
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have tried using IE 7.0 and in the address field it looks like this:

http://localhost//index.php

with 2 backslashes, but it works better in IE then in Firefox, any suggestions?

Reply With Quote
  #3 (permalink)  
Old March 16th, 2007, 03:03 AM
Registered User
 
Join Date: Mar 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Did you ever manage to solve this?

Reply With Quote
  #4 (permalink)  
Old March 16th, 2007, 03:47 AM
Registered User
 
Join Date: Mar 2007
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by Jack Goa
 Did you ever manage to solve this?

No i haven't, so if anyone have any ideas how to solve this, it would be great!

Reply With Quote
  #5 (permalink)  
Old March 16th, 2007, 04:00 AM
Registered User
 
Join Date: Mar 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Mmm.. so we'll wait and be patient... ;)

Reply With Quote
  #6 (permalink)  
Old March 16th, 2007, 04:25 AM
Registered User
 
Join Date: Mar 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

cyclonic, try this: (in http.php)

header('Location: http://' . $_SERVER['HTTP_HOST'] .
          //dirname($_SERVER['PHP_SELF']) .
          '/' . $url);
I commented out the dirname($_SERVER['PHP_SELF']). part, it seems to work for now, don't know what the consequences will be as I am still working through the chapter.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 13 - CMS gedgecc BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 2 November 15th, 2012 09:19 AM
Problems with Chapter 13 hooligan BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 November 11th, 2008 08:26 PM
Chapter 5 CMS extension yousaid BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 14 April 23rd, 2007 03:34 PM
CMS (chapter 13) website integration nick.kirby BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 1 August 3rd, 2006 04:33 AM
Problems with chapter 13 cms hooligan BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 6 July 24th, 2005 12:19 AM



All times are GMT -4. The time now is 09:14 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.