- This topic is empty.
-
AuthorPosts
-
May 17, 2014 at 6:13 pm #170508__Participant
Logged in roaming from Europe (during biggest floods in Bosnia) just to say that.
ha, wow. Thanks.
May 24, 2014 at 6:51 am #170993AnonymousInactivetraq,
I’m still waiting for Stablehost to get me set up. Problems from the start so am not optimistic about any better experience in the short or long term over my previous. Takes forever to get through and forevermore to get a useful reply.
Best Regards.
May 24, 2014 at 11:04 pm #171024__ParticipantSorry to hear it. Their website says they offer a 45 day money-back guarantee —hope you don’t have to call them on it. Let me know when you’re ready to continue with our tutorial. Best of luck!
June 5, 2014 at 12:09 am #171897AnonymousInactiveYou confused an old man for a minute by changing your handle! I’m nuttier than a squirrel turd as it is!
Anyway, thanks to chrisburton suggesting I give Stablehost a try, I am now with Stablehost. I submitted everything to them again and everything went through this time without any problems. I should be up and going in 24 to 48 hours and am looking forward to starting the tutorial again.
As the PHP version with Verio was so outdated I wonder if the contact form would have worked all along had a newer version been in place? I was really feeling like a total idiot not being able to get it to show.
Best Regards!
June 5, 2014 at 9:53 am #171950__ParticipantYou confused an old man for a minute by changing your handle!
I purposely left my avatar intact. For now.
Anyway, thanks to chrisburton suggesting I give Stablehost a try, I am now with Stablehost.
Cool!
I wonder if the contact form would have worked all along had a newer version been in place?
Maybe. But the one we’re building will be good, and you’ll know how it works.
I was really feeling like a total idiot not being able to get it to show.
You should not. Not knowing something is not the same as being dumb. And programming is an exacting field filled with caveats and minutiae. Nobody knows everything. The good programmers just the ones that know how to look things up, and learn (or be taught) things they didn’t know yesterday.
June 12, 2014 at 4:53 am #172589AnonymousInactiveGreetings un-traq-ed,
Well, I finally got signed up with Stablehost and have spent the past few days exploring all the tools in the cpanel and adjusting settings to my preferences.
Unfortunately, the form is still showing “I’m dead, Jim” which means the problem is behind my keyboard. The link is here and I’m ready to proceed with the tutorial.
Best Regards,
Michael
June 12, 2014 at 9:16 am #172616__ParticipantUnfortunately, the form is still showing “I’m dead, Jim”
Probably left it in the script from earlier. Just take that line out and try again. Actually, just to be sure, it would probably be best to download the files fresh from the gist.
(Use the link here, as the links on my previous posts no longer work.)
June 13, 2014 at 1:16 am #172649AnonymousInactiveGreetings un-traq-ed,
I am still getting a white page here. I have created a Pastebin for the contactPage.php here and a Pastebin for the contactMichael1961.php here. I copied and pasted both from the Gist you created and made the changes per your instructions here, but I am still missing something.
Best Regards.
June 13, 2014 at 1:58 pm #172701__ParticipantHave you checked your PHP error logs (hopefully you can access them, with this host)?
During development, if you have access to your php.ini file, you can change error reporting settings to display errors on your page:
error_reporting = E_ALL display_errors = On
June 14, 2014 at 10:49 am #172783AnonymousInactiveGreetings un-traq-ed,
I contacted Stablehost to get some information regarding what you asked. As the degree of php we are dealing with and php errors logs (something I’ve never done before) I needed to get some answeres as to whether the things you requested can be done and in short, Yes thay can. I will take a blook as everything tomorrow regarding the php.ini file.
Stablehost did have a look for me to see if there were any other issues and they said the following:
On checking your issue in detail, we found that there must be some error in the codes of “contactPage.php” . For verifying the issue from our end we created a “info.php” and it worked fine.
Am I leaving out any closing tags anywhere?
Best Regards,
Michael
June 14, 2014 at 4:06 pm #172788__ParticipantHi Michael,
Assuming the path is correct,include_once "$_SERVER['DOCUMENT_ROOT'].'form-test/class/contactMichael1961.php';
should be
include_once "{$_SERVER['DOCUMENT_ROOT']}/form-test/class/contactMichael1961.php";
or
include_once $_SERVER['DOCUMENT_ROOT']."/form-test/class/contactMichael1961.php";
Look at the differences in how the strings are written (especially the
"
(quote marks), and how to use{}
(curly brackets) for complex variables inside of a string).There may well be other errors, but we’d need to see the error log/messages to find them.
For verifying the issue from our end we created a “info.php”
Is this file still on your server, where we can see it?
If not, could you create a php script on your server with this:
<?php print phpinfo();
and post a link to it (I’ll let you know as soon as I’ve looked at it, so you can remove it)?
June 14, 2014 at 11:14 pm #172790AnonymousInactiveGreetings un-traq-ed,
Here is the first error which was showing on the page:
Parse error: syntax error, unexpected ” (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /form-test/class/contactMichael1961.php on line 7
That went away after I corrected the include string.
Now I am getting an error message:
Fatal error: Class ‘contactMichael1961’ not found in /form-test/class/contactMichael1961.php on line 9
I’m not sure what to change there.
Best Regards.
June 15, 2014 at 12:25 am #172791__ParticipantNow I am getting an error message:
Fatal error: Class ‘contactMichael1961′ not found in /form-test/class/contactMichael1961.php on line 9
Meaning the path is not correct, so our class definition was not loaded.
Actually, wait:
I was just looking at the file names on your pastebins. I think you got the scripts swapped (contactPage should be contactMichael1961, and vice-versa)…?
contactMichael1961.php
should be the file with the class definition, andcontactPage.php
should be the script with theinclude
.June 15, 2014 at 12:47 am #172792AnonymousInactiveDoh, stupid mistake. I transposed them with the new copy/paste.
The contact form is now showing and has “Example “Contact Michael” Page”, etc at the top left with the form center.
What next?
Many thanks!!!!!
June 15, 2014 at 1:10 am #172793__ParticipantWhat next?
I’ll fix a couple minor things I noticed on the form, and then we can move on to validation.
Many thanks!
You’re more than welcome. I’ll post tomorrow, goodnight!
-
AuthorPosts
- The forum ‘Other’ is closed to new topics and replies.