Hi DPers, I need some help. I was recently alerted to a problem by a customer with my script. To see the issue: 1) Click here 2) Login to the admin using 'demo' as the username and password 3) Try editing terms, adding links, editing the privacy policy or FAQs. You'll see a message appears - "Please ensure you have filled in all fields." I was wondering if anyone could shed any light on the matter. I didn't code the script as I don't know a lot of PHP, so don't really know what the problem could be. It could be something to do with server configuration or settings, but bear in mind this issue appears on my demo site, another seperate demo site (on a different server), and a customer's site. So my gut feeling is its something to do with the code. If anyone thinks they can fix it, I might be willing to pay a little ($5-$10) for the fix. Please PM me if this is the case. Thanks in advance!
I have a feeling the error might be something to do with the SQL code in the file (in this case, addlinks.php): If anyone can spot any obvious errors etc in that, let me know.
Just to rule out register_globals related issues, try replacing the following: } elseif ($_GET['new'] == "true" && ($submit) && ($description) && ($url) ) { PHP: With this: } elseif ($_GET['new'] == "true" && isset($_POST['submit']) && isset($_POST['description']) && isset($_POST['url']) ) { PHP:
It worked! I am so grateful! If you want $5 as a thank you, PM me your PayPal email and I'll send it over. Either way, once again, thank you!