Jump to content
Larry Ullman's Book Forums

Zie

Members
  • Content Count

    6
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Zie

  1. Hi, I also have this exact problem and have been stuck on it for a while. Does anyone have any answers yet? Thanks in advance! Zie
  2. Hi daviddawn, I just wanted to thank you again for all your help. I re-downloaded the files from the site, made the require_once change on the add_pages.php file and when I uploaded it to the server, I checked the "overwrite previous files" and IT WORKED!! Zie
  3. Thanks so much for your help! The errors seem to be coming from the form_functions.inc.php file. I have made changes on line 87, even deleting it entirely (it's actually just a comment) and I still get the same error. I also changed the add_pages file to require_once for including the form_functions.inc.php file. Here is a copy of the form_functions,inc.php file unchanged from the source file which is how I had uploaded it to the server originally: I have highlighted lines 13 and 87 in red <?php // This script defines any functions required by the various forms. // This sc
  4. Sorry, the missing bracket is in the script (I just missed it when I copied the code and pasted here). However, I did find the error log whic says: PHP Fatal error: Cannot redeclare create_form_input() previously declared in ---webroot path---/includes/form_functions.inc.php: 13 in ---webroot path---includes/form_functions.inc.php on line 87
  5. Hi daviddawn, Thanks for you quick reply and advice. Here is the code for add_page.php. I was able to follow the tutorial in the book until this point. Then, when I uploaded this file, the form would show up and I cannot see what is wrong. I uploaded it as is from the author's source files: ?php // This page is used by an administrator to create a specific page of HTML content. // This script is created in Chapter 5. // Require the configuration before any PHP code as the configuration controls error reporting: require('./includes/config.inc.php'); // If the user isn't logged in
  6. Hi, I cannot get add_page.php to display. I am on pages 116 - 132. I used the author's file (rather than create my own) and followed along in the book. I can't figure out what the problem is so I have been stuck on this part for 6 hours. Any advise please? I am on a deadline (yikes). Thanks so much! Zie
×
×
  • Create New...