 |
BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6  | This is the forum to discuss the Wrox book Beginning PHP, Apache, MySQLWeb Development by Michael K. Glass, Yann Le Scouarnec, Elizabeth Naramore, Gary Mailer, Jeremy Stolz, Jason Gerner; ISBN: 9780764557446 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 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
|
|
|
|

July 13th, 2004, 12:17 AM
|
|
Registered User
|
|
Join Date: Jul 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Chapter 15 Problems
Hi,
I am running PHP and MySQL with IIS. I am getting a ton of similiar notices and warnings written in the webpage (IE) when i try to run the code as downloaded for the bulletin board system. I turned on register_globals in my php.ini file. Turned on cookies like someone suggested in an earlier post.
Example:
Notice: Undefined index: last_login in c:\inetpub\wwwroot\PulpUnited\messageBoard\functio ns.php on line 182
Notice: Undefined index: user_id in c:\inetpub\wwwroot\PulpUnited\messageBoard\header. php on line 25
Notice: Undefined index: access_lvl in c:\inetpub\wwwroot\PulpUnited\messageBoard\header. php on line 26
Notice: Undefined index: name in c:\inetpub\wwwroot\PulpUnited\messageBoard\header. php on line 27
----------------------------------------
When I try to login on the member login page (login.php) i get this in the Email Address: text box:
<br /><b>Notice</b>: Undefined index: e in <b>c:\inetpub\wwwroot\PulpUnited\messageBoard\logi n.php</b> on line <b>7</b><br />
-----------------------------------------
I also get this when message below i reply to a post. But its weird because the reply gets posted when i go back and look at the thread???
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
SELECT SQL_CALC_FOUND_ROWS p.id, p.subject, p.body, p.date_posted, p.date_updated, u.name as author, u.id as author_id, u.signature as sig, c.count as postcount, p.forum_id as forum_id, f.forum_moderator as mod, p.update_id, u2.name as updated_by FROM forum_forum f JOIN forum_posts p ON f.id = p.forum_id JOIN forum_users u ON u.id = p.author_id LEFT JOIN forum_users u2 ON u2.id = p.update_id LEFT JOIN forum_postcount c ON u.id = c.user_id WHERE (p.topic_id = 2#post3 OR p.id = 2#post3) ORDER BY p.topic_id, p.date_posted LIMIT 0,10
thanks for any help you can offer,
bRian
|
|

July 13th, 2004, 01:05 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2004
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
First you let me tel that how can you configur IIS for PHP ?
Numan
--------------------------------------------------
Love is the most beautiful thing of this world. So do this !
|
|

July 13th, 2004, 01:22 PM
|
|
Registered User
|
|
Join Date: Jul 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
ok, i just decided to install apache and everything works fine. IIS must have been the problem. thanks for the reply though!
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| chapter 15 - |
ciwluke |
BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 |
0 |
July 11th, 2008 03:33 PM |
| Problems in chapter 15 and 16 |
sgeorgiev |
BOOK: Ivor Horton's Beginning Visual C++ 2008 ISBN: 978-0-470-22590-5 |
0 |
May 7th, 2008 11:57 PM |
| chapter 15 |
manal_sag |
BOOK: Beginning ASP 3.0 |
1 |
June 18th, 2005 11:05 AM |
| Chapter 15 problems |
mweining |
BOOK: Beginning ASP 3.0 |
19 |
May 4th, 2005 05:27 PM |
| Chapter 15 problems |
czambran |
BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 |
5 |
July 8th, 2004 11:50 PM |
|
 |