Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 9th, 2007, 05:45 PM
Registered User
 
Join Date: Mar 2007
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 [email protected], 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.

 
Old March 10th, 2007, 06:56 AM
Registered User
 
Join Date: Mar 2007
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?

 
Old March 16th, 2007, 03:03 AM
Registered User
 
Join Date: Mar 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Did you ever manage to solve this?

 
Old March 16th, 2007, 03:47 AM
Registered User
 
Join Date: Mar 2007
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!

 
Old March 16th, 2007, 04:00 AM
Registered User
 
Join Date: Mar 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

 
Old March 16th, 2007, 04:25 AM
Registered User
 
Join Date: Mar 2007
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.





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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.