Author Topic: Toplist include problems  (Read 12458 times)

0 Members and 2 Guests are viewing this topic.

Offline MGPdevil

  • Newbie
  • *
  • Posts: 13
    • View Profile
Toplist include problems
« on: February 11, 2009, 08:56:50 AM »
Hi

I keep getting the error [an error occurred while processing this directive] on my gallery pages where I try to add a toplist, and on my main page I get no error but just a blank space where toplist should have been.
Have spent over 2 hours trying different paths with the include code <!--#include virtual="/trades/trade_tgps.html" -->
Never had a problem on my other sites but adding toplists to this WP blog is driving me nuts  ???

The toplists looks fine when I load them directly in the browser.
One place I read to add "AddType application/x-httpd-php .html" to my .htaccess file but did not help eighter.
Can it be something with the server settings?

Offline Ric

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: Toplist include problems
« Reply #1 on: February 11, 2009, 09:52:22 AM »
<!--#include virtual="/trades/trade_tgps.html" -->

The above is the SSI include... do you need <?PHP virtual('trades/trade_tgps.html') ?> instead?

Offline MGPdevil

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Toplist include problems
« Reply #2 on: February 11, 2009, 01:20:34 PM »
<!--#include virtual="/trades/trade_tgps.html" -->

The above is the SSI include... do you need <?PHP virtual('trades/trade_tgps.html') ?> instead?


That helped for the main page :)
Using the code above like this <?PHP virtual('../../../trades/trade_tgps.html') ?> for galleries removes the error but toplist does not show.
Galleries are all .shtml files and with a path like: http://www.domain.com/galleries/paysite/description/index.shtml

« Last Edit: February 11, 2009, 01:34:43 PM by MGPdevil »

Offline ip0li

  • mgSearkGD
  • Administrator
  • Hero Member
  • *****
  • Posts: 1959
    • View Profile
    • Pretty Girls from your city for night
Re: Toplist include problems
« Reply #3 on: February 11, 2009, 02:13:55 PM »
try this:
<?php virtual('/trades/trade_tgps.html'); ?>

Thnx.

Offline MGPdevil

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Toplist include problems
« Reply #4 on: February 11, 2009, 03:27:37 PM »
try this:
<?php virtual('/trades/trade_tgps.html'); ?>

Thnx.
That did not work eighter. Tried <?php virtual('../../../trades/trade_tgps.html'); ?> too but only made a blank space instead of error. No toplist.