|
Haven't registered yet? Do it here now!
|
picxx
Joined: 09 Nov 2006 Posts: 6
|
|
|
|
|
|
|
Posted: Thu Nov 16, 2006 2:12 pm Post subject: Won't write to the template files? |
|
|
|
|
|
|
|
|
|
|
Hi.
I have set up lo and loaded it with 8 sites.
For some reason the script won't print out the links in the template files.
I have checked the .txt files, and the proper code is there, but the .php template files remain blank after i have approved trades and rebuilt the template.
I thought it could be a chmod error, but the site_templates folder is set to 777, and i even tried to chmod the whole lo folder to 777, but it is still no good.
I'll send you the url and password for the backend just in case you want to take a look at it.
If you need login to ftp just let me know.
Thx for you're help. |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Thu Nov 16, 2006 3:03 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
hello there,
i have reviewed your case and its not a server issue.
In your templates you have defined just the "tradelinkformat", you haven't put a variable to print the trades.
With the "tradelinkformat" you just define how the trades links will appear on your site. To print out any trades you need to include any of the other variables, like {trades,1-10} and etc...
I've just included that in the template for your very first site in the list and its all fine...
Let me know on any more problems..
Thanks! _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
picxx
Joined: 09 Nov 2006 Posts: 6
|
|
|
|
|
|
|
Posted: Thu Nov 16, 2006 3:54 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
*embarressed*
Thanks for you're help
It's all working perfect now |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Thu Nov 16, 2006 4:07 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
np, enjoy _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
picxx
Joined: 09 Nov 2006 Posts: 6
|
|
|
|
|
|
|
Posted: Thu Nov 16, 2006 4:29 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
I guess i was a bit quick on my previous reply, cuz after i updated all the templates it still wont show on the other blogs.
I updated the templates, rebuilded them, they are printing to the template files, but are not showing on the other blogs.
I have allso tried to change the includecode from
Code: | <?php @ini_set('expose_php', 'Off');
@include "http://www.mysite.com/lo/site_templates/site_6_6.php";
?> |
to
Code: | <? @include "http://www.mysite.com/lo/site_templates/site_6_6.php";
?> |
with no success.
Appreciate the help, and i am sorry for all the questions. |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Thu Nov 16, 2006 4:54 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
hm, are those sites on same host as the 1st one for which it is working?
if not try using the CURL code, the remote file inclusions might be denied on that hosting..
and also make sure you have some trades added to those sites and they are active.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
picxx
Joined: 09 Nov 2006 Posts: 6
|
|
|
|
|
|
|
Posted: Thu Nov 16, 2006 5:18 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Yes, they were on the same host, but on different accounts and different ip range.
However, i got it to work by use the curl code instead of the php include.
Thx for the help,
It looks like pure magic now |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Thu Nov 16, 2006 5:19 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
enjoy.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
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
|
|
|
|
| |