|
Haven't registered yet? Do it here now!
|
tgs
Joined: 25 Jul 2006 Posts: 175
|
|
|
|
|
|
|
Posted: Sat Dec 06, 2008 3:54 pm Post subject: Can you recommend a trade script that's working with BO |
|
|
|
|
|
|
|
|
|
|
Can you recommend a trade script that's working with BO besides Xclicks ? |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Sat Dec 06, 2008 6:54 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
mm, i don't have any experience with trade scripts and BO. I am running my blogs clean and pure and don't mix them with tgp stuff..
generally everyone should work, since everything in BO is php.
Sorry that i can't help, probably someone around can help. I think i have seen couple of people using trade scripts on their BO blogs.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
tgs
Joined: 25 Jul 2006 Posts: 175
|
|
|
|
|
|
|
Posted: Sat Dec 06, 2008 7:59 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Ok i'll try a few things and let you know so that everyone benefits from it |
|
|
|
|
|
|
|
tgs
Joined: 25 Jul 2006 Posts: 175
|
|
|
|
|
|
|
Posted: Sun Dec 07, 2008 6:00 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Ok no matter which trade script i try, i get errors. You need to put this at the top of the index.php page, under your template.
<?php virtual("/tp/ssi_in.php")?>
and i get this error
Warning: virtual() [function.virtual]: Unable to include '/tp/ssi_in.php' - request execution failed in /home/me/domains/mysite.com/public_html/bo/boblogs/blog1.php on line 1
showing up at the top of the index.php page
So my question is, where do i insert the code so trade scripts work ? Is it a path problem ? What should it be then so it works with BO ?
Thanks |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Mon Dec 08, 2008 11:14 am Post subject: |
|
|
|
|
|
|
|
|
|
|
yes, its path issue.
if you are including the tracker code right in your template you need to have in mind the template is stored at "bo/boblogs/blog#.php"
So, in your tracker code you need to make the path starting from that directory. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
tgs
Joined: 25 Jul 2006 Posts: 175
|
|
|
|
|
|
|
Posted: Mon Dec 08, 2008 3:03 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Sorry for asking this but, could you show the path please. (just to make sure) thanks |
|
|
|
|
|
|
|
tgs
Joined: 25 Jul 2006 Posts: 175
|
|
|
|
|
|
|
Posted: Mon Dec 08, 2008 4:44 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
I tried various paths but it doesn't work. Here is the latest one
<?php virtual("home/me/domains/siteiwanttoputatradescript.com/public_html/tp/ssi_in.php")?>
i get this:
Warning: virtual() [function.virtual]: Unable to include 'home/me/domains/siteiwanttoputatradescript.com/public_html/tp/ssi_in.php'
- request execution failed in /home/me/domains/siteboisinstall.com/public_html/bo/boblogs/blog110.php on line 1 |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Mon Dec 08, 2008 7:02 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
is the site where you have the trade script installed on same server as is BO? _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
tgs
Joined: 25 Jul 2006 Posts: 175
|
|
|
|
|
|
|
Posted: Tue Dec 09, 2008 12:35 am Post subject: |
|
|
|
|
|
|
|
|
|
|
Yes, check the name i have for domains and path so you "get it".
The name speaks for themself.
Anyways, i'm sure this will help A LOT of guys. As it will stay in the forum so that they can search for it.
|
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Tue Dec 09, 2008 10:57 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
yeah, but just making sure we are working on same server
replace the virtual() with require
like this:
<?php require "home/me/domains/siteiwanttoputatradescript.com/public_html/tp/ssi_in.php";?> _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
tgs
Joined: 25 Jul 2006 Posts: 175
|
|
|
|
|
|
|
Posted: Wed Dec 10, 2008 3:44 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Ok i have done it. Doubled checked the paths too and i get this:
Warning: main(home/me/domains/mydomain.com/public_html/tp/ssi_in.php) [function.main]: failed to open stream: No such file or directory in /home/me/domains/boinstalled.net/public_html/bo/boblogs/blog110.php on line 1
Warning: main(home/me/domains/mydomain.com/public_html/tp/ssi_in.php) [function.main]: failed to open stream: No such file or directory in /home/me/domains/boinstalled.net/public_html/bo/boblogs/blog110.php on line 1
Fatal error: main() [function.require]: Failed opening required 'home/me/domains/mydomain.com/public_html/tp/ssi_in.php' (include_path='.:/php/includes:/usr/local/lib/php') in /home/me/domains/boinstalled.net/public_html/bo/boblogs/blog110.php on line 1 |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Wed Dec 10, 2008 6:13 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
"failed to open stream: No such file or directory"
you are mistaking the path, thats the problem
make a tmp.php file with this content:
<?php echo getcwd();?>
and upload it to the directory where your trade script is and run it in your browser. It will return you the exact path _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
tgs
Joined: 25 Jul 2006 Posts: 175
|
|
|
|
|
|
|
Posted: Thu Dec 11, 2008 4:55 am Post subject: |
|
|
|
|
|
|
|
|
|
|
Ok pm sent and i'll output the results in here for the benefits of others |
|
|
|
|
|
|
|
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
|
|
|
|
| |