Jump to content

iwato

Members
  • Content Count

    1,506
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by iwato

  1. Nothing. Nothing. Nothing. Nothing. Nothing. Nothing. I even tried a real var_dump that included the $dataRequest variable. Also, you guessed it, Nothing. Roddy
  2. Got it. Now I understand your madness. :-) Roddy
  3. Alright. I left the error code and the condition of the if-statement and eliminated all of the remaining processing code with the exception of those lines that you designated. No error resulted. Roddy
  4. I just checked the error logs for .../select_color_pair.incl.php and .../class.imageless_captcha.php, but could find nothing. And, the error log that should include the errors for .../vendor/autoload.php shows nothing. As I did not build autoload.php, its errors do not appear in the same folder -- namely, /vendor. I do see what you mean. You wanna make me work.... Just a moment. Roddy
  5. I am not sure what you mean. Each of the other pages has its own error code, just like the one that I showed above. Therefore, if an error occurs on any one of those pages, it should appear in that pages error code that is copied into the same folder as the page. Well, I do not not know how others do it, but it is my work flow style. Roddy
  6. Actually it created a white sheet. So, I introduced purposefully the error that Dsonesuk believed that I was making accidentally, and it produced a very nice error message. So, yes, the errors are currently being reported. Here is the resulting error message. It may give a clue. [05-Jan-2020 22:06:05 UTC] PHP Warning: require_once(.../../../../../../vendor/autoload.php): failed to open stream: No such file or directory in /home/.../captcha_reset.php on line 17 [05-Jan-2020 22:06:05 UTC] PHP Fatal error: require_once(): Failed opening required '.../../../../../../vendor/autoload.p
  7. Does this look like a good syntax error? var_dump(goofy); Roddy
  8. Hi, Funce. There are about five PHP error logs involved. And, all of them contained error messages from the past that i erased. So, I have assumed that they are working. Just to be sure. I will give it a try. Just a moment. Roddy
  9. Addendum to Initial Entry The following is a note that I wrote to myself about the problem: • The Imageless_Captcha functionality is failing again. • Step One: Open overview.html • Step Two: Click on Local Search/Newsletter, Local Search/Podcast, Local Search/Q&A on the overview.html page in either the production or development folder and the result is the same. The worded number phrase does not appear, rather the phrase "Enter something here!" • Step Three: Open the WebConsole in the Network panel and discover that the PHP file: /home/t
  10. Hi, Funce! Happy New Year! The logging system is everywhere the same. It appears as follows: error_reporting(E_ALL); ini_set('log_errors', 1); ini_set('error_log', dirname(__FILE__) . DIRECTORY_SEPARATOR . 'error.log'); ini_set('html_errors', 1); ini_set('display_errors', 0); Roddy
  11. Hi Dsonesuk! Happy New Year! I purposefully wrote the paths as .../ in order to hide my file structure to the general public. I wish it were that easy. Roddy
  12. BACKGROUND: I have an AJAX request that cannot find the PHP processing file for which it is looking. It is returning a 500 error in my web console. I have checked the PHP error log for that file and can find no error. I have also checked the error logs for the PHP files related to the requested PHP file, as well as the error log of the requesting page. Nothing. Nothing. Nothing. And, Nothing. I have even asked the help of my server provider. Nothing. Needless to say, I am at a loss. The functionality related to this AJAX call was created many months ago, and was working fine at the
  13. iwato

    Undefined Variable

    GREETING: Happy New Year, W3Schools! I am looking forward to another year of online progress. Hopefully many of the problems that I have been experiencing for the last year and a half will disappear with the addition of a brand new iMac that can handle the latest PHP and MySql software. This said, I remain the advanced novice that I am and very much hope that you will continue to stand by my side. BACKGROUND: Please find below a set of code that permits one new set of functionality, but destroys another. The related error messages are provided beneath the code. if (isset($_GET[
  14. Please ignore the above request. I have resolved the problem. There was an incompatibility between what was being sent and what was supposed to be received. Thank goodness for prepared statements. They make everything so easier once you understand how to interpre the hieroglyphs of error encoding. Roddy
  15. BACKGROUND: This is follow-up to my newly created webpage at ali.publiustwo.com. For a long time I was able to successfully transmit and store the data of the first of two forms. Unable to understand why the data of the second form was not appearing in my data base I discovered that two of the variables were missing in the PHP processing file. After these were added, the transmission failed completely. The following error message was discovered Connection close Content-Typetext/html; charset=UTF-8 Date Tue,10 Dec 2019 18:58:01 GMT ServerApache Transfer-Encoding chunked Accept */* Ac
  16. Never mind. I have resolved the problem. Input form controls of the checkbox type are very unusual creatures. I have learned during the last couple of days. In any case, the checkbox fields do appear when they are checked. You have made me one very happy trooper. Roddy
  17. All of my input form controls have names, and there are four fieldsets in the topic_info form element. Only the name-value pairs of the last fieldset appear. There are six altogether. title1, topic1, title2, topic2, title3, and topic3. Roddy
  18. I don't get it either, but you are absolutely correct. Adding the two additional parameters to the $.ajax() function allowed the data to be transmitted. Still, however, only the last fieldset of the #topic_info form element was processed. You may see what is occurring your self. Do you have any idea why. Roddy
  19. Are you suggesting that the $.ajax() function should be included in the for-statement? Roddy
  20. There is another problem as well. The poData array only captures the name-value pairs in the last fieldset of the #topic_info form. While you are thinking, I will experiment with what dsonesuk has proposed. Roddy
  21. for (var i = 0; i < poData.length; i++) { formData.append(poData[i].name, poData[i].value); } No, I fixed this problem as above. Roddy
  22. Yes, Funce. The formData variable captures the first instance of the jQuery object used to create the object. I did not drop the [0] expression at the end of the object. I will wait until I can form a proper data object before implementing the additionally suggested $.ajax() parameters. Roddy
  23. Hi, Funce. I have decided to experiment with your suggestion first as it is closer to language that I can easily understand. This said, the FormData object is new to me and I do not know how to readily correct the error associated with the following code block: for (var i = 0; i < poData.length; i++) { formData.append(poData[i].name, poData[i].value); } The associated error is the following; Please advise further.. Roddy
  24. Wow! Thank you to you both. I might get this accomplished after all. Give me some time to see what works! Roddy
×
×
  • Create New...