Log in

View Full Version : Use of hacks on .html pages


Linus
12-25-2001, 12:20 PM
I did a couple of hacks like last XX posters, top XX posters and want to include them on a page outside of vB. However, I realised I could not use them on a .html page (I have SSI configured to be able to use on .html pages)

Could anyone advice what might be the problem on why I cannot get the hacks to display on a .html page ? They work perfectly fine if I use them on a .php page

I keep getting this errors
[an error occurred while processing this directive]

Is there a way out or do I have to install to http://www.mysite.com/forums/ instead of just http://www.mysite.com ???

Palmer ofShinra
12-25-2001, 05:17 PM
Of course they work fine in a PHP page... that's because they're PHP code.

PHP files called through a browser execute the script.

Call them through an SSI and they're not executed.

Just change your pages to PHP and go with that.

Linus
12-27-2001, 04:51 AM
Hmm then this means I will have to re-install my forum ???

Please advice on the best way to reinstall my forum from
www.mysite.com to www.mysite.com/forums without losing any data ???

Thanks

JamesUS
12-27-2001, 09:30 AM
Just move all the vB files to the new location and update the URL option in the vB Control Panel.