|
Haven't registered yet? Do it here now!
|
KenM
Joined: 25 Apr 2008 Posts: 4
|
|
|
![](templates/Pixelated/images/barmain/top_left.gif) |
|
![](templates/Pixelated/images/barmain/top_right.gif) |
|
Posted: Fri Apr 25, 2008 12:51 am Post subject: No php in my html pages |
|
|
|
![](templates/Pixelated/images/barmain/bottom_left.gif) |
|
![](templates/Pixelated/images/barmain/bottom_right.gif) |
![](templates/Pixelated/images/barmain/top_left.gif) |
|
![](templates/Pixelated/images/barmain/top_right.gif) |
|
I know that this has probably been covered before but I didn't see anything that really helped me.
My script seemed to install fine, but when I put the linking code to display in my html pages it won't display.
I have spent about 6 hours trying to figure it out. And I just can't seem to nail the problem down.
Ken |
|
|
![](templates/Pixelated/images/barmain/bottom_left.gif) |
|
![](templates/Pixelated/images/barmain/bottom_right.gif) |
|
|
Atanasis Owner
![](images/avatars/109257768544b81fc96b4bd.gif)
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
![](templates/Pixelated/images/barmain/top_left.gif) |
|
![](templates/Pixelated/images/barmain/top_right.gif) |
|
Posted: Fri Apr 25, 2008 8:24 am Post subject: |
|
|
|
![](templates/Pixelated/images/barmain/bottom_left.gif) |
|
![](templates/Pixelated/images/barmain/bottom_right.gif) |
![](templates/Pixelated/images/barmain/top_left.gif) |
|
![](templates/Pixelated/images/barmain/top_right.gif) |
|
when you are trying to use php code inside .html pages you need to tell your server to parse .html pages as php ones. To do so add the line below to a .htaccess file at the root of the domain:
AddType application/x-httpd-php .html _________________ Thanks,
Kaktusan
![](http://www.cheapestwebsoftware.com/phpads/adview.php?what=zone:12&n=ade94a08) |
|
|
![](templates/Pixelated/images/barmain/bottom_left.gif) |
|
![](templates/Pixelated/images/barmain/bottom_right.gif) |
|
|
KenM
Joined: 25 Apr 2008 Posts: 4
|
|
|
![](templates/Pixelated/images/barmain/top_left.gif) |
|
![](templates/Pixelated/images/barmain/top_right.gif) |
|
Posted: Fri Apr 25, 2008 11:50 am Post subject: |
|
|
|
![](templates/Pixelated/images/barmain/bottom_left.gif) |
|
![](templates/Pixelated/images/barmain/bottom_right.gif) |
![](templates/Pixelated/images/barmain/top_left.gif) |
|
![](templates/Pixelated/images/barmain/top_right.gif) |
|
I actually already tried adding that line to the hta file. It didn't seem to help. |
|
|
![](templates/Pixelated/images/barmain/bottom_left.gif) |
|
![](templates/Pixelated/images/barmain/bottom_right.gif) |
|
|
Atanasis Owner
![](images/avatars/109257768544b81fc96b4bd.gif)
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
![](templates/Pixelated/images/barmain/top_left.gif) |
|
![](templates/Pixelated/images/barmain/top_right.gif) |
|
Posted: Sat Apr 26, 2008 3:59 pm Post subject: |
|
|
|
![](templates/Pixelated/images/barmain/bottom_left.gif) |
|
![](templates/Pixelated/images/barmain/bottom_right.gif) |
![](templates/Pixelated/images/barmain/top_left.gif) |
|
![](templates/Pixelated/images/barmain/top_right.gif) |
|
hm, weird... if you make a tmp.php file and put in it the code does it work?
try that and let me know..
if no luck pm me url and pass to your LO admin so i can see if there is something wrong in your LO install.. _________________ Thanks,
Kaktusan
![](http://www.cheapestwebsoftware.com/phpads/adview.php?what=zone:12&n=ade94a08) |
|
|
![](templates/Pixelated/images/barmain/bottom_left.gif) |
|
![](templates/Pixelated/images/barmain/bottom_right.gif) |
|
|
KenM
Joined: 25 Apr 2008 Posts: 4
|
|
|
![](templates/Pixelated/images/barmain/top_left.gif) |
|
![](templates/Pixelated/images/barmain/top_right.gif) |
|
Posted: Sat Apr 26, 2008 4:18 pm Post subject: |
|
|
|
![](templates/Pixelated/images/barmain/bottom_left.gif) |
|
![](templates/Pixelated/images/barmain/bottom_right.gif) |
![](templates/Pixelated/images/barmain/top_left.gif) |
|
![](templates/Pixelated/images/barmain/top_right.gif) |
|
Well I worked on it a bit more. And here is the latest, the tmp.php thing doesn't work either. But I have two different domains running off one hosting account, the second being something like a subdomain, with the lo script installed there, and lo php code installed on the main page of the main domain and no matter what I do I can't get the php code to work there, but it seems to work fine on the second domain where the script is installed. The script itself seems to work just fine, but I am still a little unsure if the cronjob is working properly.
Ken |
|
|
![](templates/Pixelated/images/barmain/bottom_left.gif) |
|
![](templates/Pixelated/images/barmain/bottom_right.gif) |
|
|
Atanasis Owner
![](images/avatars/109257768544b81fc96b4bd.gif)
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
![](templates/Pixelated/images/barmain/top_left.gif) |
|
![](templates/Pixelated/images/barmain/top_right.gif) |
|
Posted: Mon Apr 28, 2008 2:28 pm Post subject: |
|
|
|
![](templates/Pixelated/images/barmain/bottom_left.gif) |
|
![](templates/Pixelated/images/barmain/bottom_right.gif) |
![](templates/Pixelated/images/barmain/top_left.gif) |
|
![](templates/Pixelated/images/barmain/top_right.gif) |
|
well, then probably your server doesn't allow remote php includes. Have you tried with the CURL version of the linking codes? Also it could be internal server dns problem, having the 2nd domain can't resolve properly the one where LO is installed at.
About the cronjob, see if the "Linkchecker Last Executed" in the main summary page changes.. _________________ Thanks,
Kaktusan
![](http://www.cheapestwebsoftware.com/phpads/adview.php?what=zone:12&n=ade94a08) |
|
|
![](templates/Pixelated/images/barmain/bottom_left.gif) |
|
![](templates/Pixelated/images/barmain/bottom_right.gif) |
|
|
KenM
Joined: 25 Apr 2008 Posts: 4
|
|
|
![](templates/Pixelated/images/barmain/top_left.gif) |
|
![](templates/Pixelated/images/barmain/top_right.gif) |
|
Posted: Mon Apr 28, 2008 11:53 pm Post subject: Okay seems to working now |
|
|
|
![](templates/Pixelated/images/barmain/bottom_left.gif) |
|
![](templates/Pixelated/images/barmain/bottom_right.gif) |
![](templates/Pixelated/images/barmain/top_left.gif) |
|
![](templates/Pixelated/images/barmain/top_right.gif) |
|
I don't understand it, I tried the CURL version and it didn't seem to work, then I tried it again and now it works. Go figure. Maybe I copied it wrong the first time or something.
Thanks for the help.
P.S the script was really easy to install and set up compared to a couple of others I have tried. |
|
|
![](templates/Pixelated/images/barmain/bottom_left.gif) |
|
![](templates/Pixelated/images/barmain/bottom_right.gif) |
|
|
Atanasis Owner
![](images/avatars/109257768544b81fc96b4bd.gif)
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
![](templates/Pixelated/images/barmain/top_left.gif) |
|
![](templates/Pixelated/images/barmain/top_right.gif) |
|
Posted: Tue Apr 29, 2008 11:18 am Post subject: |
|
|
|
![](templates/Pixelated/images/barmain/bottom_left.gif) |
|
![](templates/Pixelated/images/barmain/bottom_right.gif) |
![](templates/Pixelated/images/barmain/top_left.gif) |
|
![](templates/Pixelated/images/barmain/top_right.gif) |
|
cool, glad you have it working. keep me posted if you have any more problems. _________________ Thanks,
Kaktusan
![](http://www.cheapestwebsoftware.com/phpads/adview.php?what=zone:12&n=ade94a08) |
|
|
![](templates/Pixelated/images/barmain/bottom_left.gif) |
|
![](templates/Pixelated/images/barmain/bottom_right.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|
![](templates/Pixelated/images/layout/bottom_left.gif) |
|
![](templates/Pixelated/images/layout/bottom_right.gif) |
| |