Brett, I am out of my depth here, but here is the link to the php test : www.desanthony.com/test.php. The file type is 'wps'. Still waiting for a 2nd reply from my host. Regards Des.
Brett, I am out of my depth here, but here is the link to the php test : www.desanthony.com/test.php. The file type is 'wps'. Still waiting for a 2nd reply from my host. Regards Des.
Hi Des
When you say the "file type is wps", does this mean that the file is sitting on your server called "test.php.wps" ?
If not, can you please explain what you mean by "file type is wps"
Cheers
Brett
Get Bulletproof Backups and Security Monitoring for your WordPress Portfolio at Code Garage
Hi Brett, yes, the file on the server is test.php....wps. Had a 2nd reply from my host: I have checked the files in hosting side. They look fine. From my experience, php files involve the database connection. But I can not find any database in your hosting account.
Please double check the instructions in the training video and see if database involved.
Let me know if you need more help. Thanks
Does this give any clues? Regards Des.
OK - in order to test your test.php it needs to be called "test.php" and nothing else. The best bet when doing a test like this is to create it in Notepad so that it is pure text. Using something like Microsoft Works (which I think is what creates a wps file) can intoduce other characters that can mess things up.
I'm pretty sure that the standalone version of WTG does not have a database. I'll double check that but I'm sure that's right.
Get Bulletproof Backups and Security Monitoring for your WordPress Portfolio at Code Garage
Hi Brett, Des again. I deleted my old test.php.wps file, renamed it so all I get is test.php, typed my domain/test.php, and the page came up with the php code in it. I gather this means I can't run a php file. Sincerely, Des.
I just had a quick look there too. Yep - there definitely seems to be a problem.
Just to make sure lets try an even simpler bit of code:
If you save that as test.php or something similar and navigate to that you should get a blank page with the words Hello World on it. If that doesn't work then you definitely need to be talking to your webhost again!Code:<?php echo "Hello World"; ?>
Brett
Get Bulletproof Backups and Security Monitoring for your WordPress Portfolio at Code Garage
Hey Brett, I did a new destest, and the whole code appears, not just 'hello world'. I'll have another yarn with my hosts next week. Hope you're not too shaken up over there. Regards Des.
Hi Des
Let me know how it goes with the webhost.
I'm in Wellington, and didn't feel a thing. But my entire family is in Christchurch or nearby so they got a bit of a wakeup call this morning that's for sure. Luckily they are all OK.
Cheers
Brett
Get Bulletproof Backups and Security Monitoring for your WordPress Portfolio at Code Garage
Hello Brett. I didn't fall off the planet yet, and I didn't give up on my standalone insertion problem. Not a lot of thanks to my host people. They just sort of gave up on me. They were a little put out that I asked the question, "did their server support .php files?" I finally figured it out last night that on the front page of the server under 'web options', access to php files wasn't enabled. So, after enabling it, the whole WTG insertion could be completed. I get annoyed that there doesn't seem to be much said about this part of running a website. Oh well, onwards and upwards eh? Regards, Des