Pixelated a phpBB Template by SkaidonDesigns
 
Cheapest Web Software Support Area Forum Index www.cheapestwebsoftware.com
Play with the Best, be the Best!
Cheapest Web Software
FAQ
Search
Memberlist
Usergroups
Profile
Log in to check your private messages
Log in

The Mightiest Webmaster Solutions Ever
Kaktusan Cash
Kaktusan Cash
Special Offers
Special Offers
Blogs Automater
Blogs Automater
Porn Blog Space
Porn Blog Space

Haven't registered yet? Do it here now!
From php4 to php5, now templates dont show on sites.

 
Post new topic   Reply to topic    Cheapest Web Software Support Area Forum Index -> Links Organizer
View previous topic :: View next topic  
Author Message
ddaaa



Joined: 09 Jan 2009
Posts: 19

PostPosted: Mon Aug 30, 2010 4:56 pm    Post subject: From php4 to php5, now templates dont show on sites. Reply with quote
Upgraded from php 4 to php 5, now when i click on view template in LO the templates are good, but they do not show on my sites. I am using the php remote include code, for example:
<?php
@ini_set('expose_php', 'Off');
@include "http://www.mydomain.com/lo/site_templates/site_48_48.php";
?>

Used to work when i had php 4 now with php 5 it shows nothing.
Back to top
View user's profile Send private message

Author Message
ddaaa



Joined: 09 Jan 2009
Posts: 19

PostPosted: Mon Aug 30, 2010 7:09 pm    Post subject: Reply with quote
I removed the @ to see what error code it gave, and dicovered that php 5 has remote includes disabled by default (php 4 doesnt).

these 2 need to be enabled:
allow_url_fopen
allow_url_include

and it works again.
Back to top
View user's profile Send private message

Display posts from previous:   
Post new topic   Reply to topic    Cheapest Web Software Support Area Forum Index -> Links Organizer All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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