PDA

View Full Version : Internal Error -> php -> mysql HELP !


thefactory
10-17-03, 12:55 PM
Dear Support Dept., dear powweb fellows

Since the new Apache configuration has been introduced by powweb, some pages with php imbedded refuse service:

http://www.travellounge.be/index_bu20031017.html
http://www.travellounge.be/pages/100_minutelounge_bu20031017.html

The php script calls up data from a mysql database hosted on pluto.powweb.com.

Are there any modifications I need to do? The scripts, database always has been working fine.

Any suggestions?
Thank you for your help,
Peter Verhauwen

Jeff321
10-17-03, 06:32 PM
If you used .htaccess that had an AddType line, change AddType to AddHandler

See this thread: http://forum.powweb.com/showthread.php?s=&threadid=27250&highlight=500

thefactory
10-18-03, 08:06 AM
there is no .htaccess file used for this script. I also tried to implement such a .htaccess file, but with no result.

Jeff321
10-18-03, 05:17 PM
Hmm... I assumed that's what you used because it's an .html file with PHP code in it. Unless the script is in a seperate file somehow...

Does it work if you rename the file to .php?

thefactory
10-20-03, 10:39 AM
Jeff, I own you one. This is working !!
Thank you so much for helping me out with this problem.

Peter Verhauwen