PDA

View Full Version : Won't work on my local server


Merjawy
Sun 20th Jul '03, 4:17pm
Hi all,

I need a little help here please
I had several sites hosted on the net and we lost the host server so I am forced to host them sites localy on my local server which is Windows based server
have the latest PHP/MySql

all scripts work fine on the host server, but on my local server I got alot of errors some sripts will work but with errors and others just give errors


heres some of the errors

Notice: Undefined variable: counter in D:\localserver\site1\public_html\forums\last10.php on line 172
Notice: Use of undefined constant title - assumed 'title' in D:\localserver\sit1\public_html\forum\last10.php on line 178
Notice: Use of undefined constant title - assumed 'title' in D:\localserver\site1\public_html\forum\last10.php on line 182
Notice: Use of undefined constant lastpost - assumed 'lastpost' in D:\localserver\site1\public_html\forum\last10.php on line 185


I know its PHP problem but I just can't seem to put my hand on the fix


please help
thanks

PS:thats just one of the scripts for latest 10 posts on the forum

RichM
Sun 20th Jul '03, 9:07pm
This won't help but i suggest scraping windows and replacing it with RedHat Linux 9

Linux is much more stable, Windows is expensive and is pure crap as a server with it's rubbish thing called "IIS"
I managed to get a vBulletin board up and running on my local Linux box in less than 5 mins, PHP/MySQL/Phpmyadmin installs easily!

Merjawy
Wed 23rd Jul '03, 11:13am
You da man CRYING :)

thanks alot.. that did it for me