Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > BOOK: Beginning PHP 5.3
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning PHP 5.3
This is the forum to discuss the Wrox book Beginning PHP 5.3 by Matt Doyle; ISBN: 978-0-470-41396-8
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP 5.3 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 Display Modes
  #1 (permalink)  
Old September 23rd, 2014, 03:01 PM
Registered User
Points: 13, Level: 1
Points: 13, Level: 1 Points: 13, Level: 1 Points: 13, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2014
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Angry Fatal error: Call to undefined function checkLogin() in index.php

Fatal error: Call to undefined function checkLogin() in C:\xampp\htdocs\book_club\members\index.php on line 3

<?php
require_once( "../common.inc.php" );
checkLogin();
displayPageHeader( "Welcome to the Members's Area", true );
?>

<p>Welcome, <?php echo $_SESSION["member"]->getValue( "firstName" ) ?>!
please choose an option below:</p>

<ul>
<li><a href="diary.php">Upcoming events</a></li>
<li><a href="book.php">Current reading list</a></li>
<li><a href="contact.php">Contact the book club</a></li>
<li><a href="logout.php">Logout</a></li>
</ul>

<?php displayPageFooter(); ?>
Reply With Quote
  #2 (permalink)  
Old September 23rd, 2014, 03:03 PM
Registered User
Points: 13, Level: 1
Points: 13, Level: 1 Points: 13, Level: 1 Points: 13, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2014
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Fatal error: Call to undefined function checkLogin() in C:\xampp\htdocs\book_club\members\index.php on line 3
<?php
require_once( "../common.inc.php" );
checkLogin();
displayPageHeader( "Welcome to the Members's Area", true );
?>

<p>Welcome, <?php echo $_SESSION["member"]->getValue( "firstName" ) ?>!
please choose an option below:</p>

<ul>
<li><a href="diary.php">Upcoming events</a></li>
<li><a href="book.php">Current reading list</a></li>
<li><a href="contact.php">Contact the book club</a></li>
<li><a href="logout.php">Logout</a></li>
</ul>

<?php displayPageFooter(); ?>
Reply With Quote
  #3 (permalink)  
Old September 24th, 2014, 07:11 AM
Friend of Wrox
Points: 651, Level: 9
Points: 651, Level: 9 Points: 651, Level: 9 Points: 651, Level: 9
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2011
Location: North East UK
Posts: 125
Thanks: 0
Thanked 24 Times in 24 Posts
Default

Greetings,

The file that contains the 'checkLogin()' function is not being loaded.
Reply With Quote
Reply


Thread Tools
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
Fatal error: Call to undefined function checkLogin() in index.php rajeevsingharora BOOK: Beginning PHP 5.3 0 September 23rd, 2014 02:52 PM
Fatal error: Call to undefined function mysql_real_ascape_string() aery BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 2 March 9th, 2012 09:20 AM
Fatal error: Call to undefined function mysql_real_ascape_string() aery BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 0 March 8th, 2012 09:07 AM
Fatal error: Call to undefined function pg_query() Gu3rr1lla BOOK: Professional PHP6 0 August 11th, 2011 07:37 PM
Fatal error: Call to undefined function mysql_pcon surendran Beginning PHP 2 May 23rd, 2006 10:41 PM



All times are GMT -4. The time now is 08:23 AM.


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