I think there maybe something to the buffer cache, I just read a lot about it. Once again I got this scrip free from the developer, who in the instructions said to---Set the following permissions on directories:
CHMOD 777 - /cache
In reading I can't tell where the cache file should be...
Hi all,
I cleared the cache in the browser and tried -the error was- still nothing on the screen?
Right clicked view source, didn't reveal anything there.
I tried the ()die after every echo, one at a time, it did die on the line where I put it; all the way to the end.
I cleaned up the html...
The code is still the same on the captcha, I just checked the live site and production server.
nothing happened with echo "The error was: " . $error;
John V.
Olaf,
Thank you for your patience and insight! I'll continue to plug away until I solve it. Something interesting just happened though, even if you enter an incorrect Captcha sequence, it doesn't throw back to say it wasn't correct. It goes along with the same old, same old that it's been doing...
I clicked on the Chicken Curry recipe and then, in the very upper left top of the page that displays, is--- id=[12746]==
Which is the # of the recipe in the database and in browser address bar localhost/recipe_db/12746-recipe-Chicken-Curry.html
John V.
Hello again, thank you---I'm learning a lot. So I ran the code in my browser without the suggest "red" additions w/ file named testing.php and the result was---
Notice: Undefined index: id in /var/www/html/recipe_db/testing.php on line 4 Fatal error: Call to undefined function sanitize() in...
www.goodcooking.com/recipe is where it resides
No, I don't know how to debug. I did run it from the command line and the result was seeing all the information from the includes, such as all the information in the database about category names.
I also went to phpcodechecker and ran the code, it...
Here I go again, FYI---I've been a chef all my life who has had a website since 1995, that focuses on food etc. I'm self taught using MySql, html, PHP and some java script. I'm here in this forum to be guided to learn how to fix my issue and not here for someone to fix it for me, all thought...
Here is updated and clean information with my comments at the end of the code:
<?php
include_once("config.php");
// get vars
$id = $_REQUEST['id'];
$id = sanitize(1, 11, $id);
// start session for captcha
session_start();
$vote = $_REQUEST['vote'];
if($submitme) {
$yourname =...
I'm sorry that I don't know what you mean? I'm just asking for a few ideas on how to correct the code so it submits the data to the database in the appropriate column. Do you only want to see my php code and not html? Is my post not appropriate for this forum?
Why doesn't this form connect to...
thread434-1760928
Hello,
Was there ever a resolution to the thread above?
I have exactly the same problem---both on a development test server and VPS, this is the only piece of the pie that doesn't work. Fill out the form and submit it---nothing happens, no post to the database or...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.