Any details on that error? Look in /var/log/apache2/error_log for more
| I have installed SuSE 10.3. Aditionally I have installed MySQL 5.0,
| Apache2, PHP5 and PHPMyAdmin. Everytinhg is working fine, but I don’t
| know how to publish PHP based web site.
| I have created simple phpinfo.php page and I can open it without
| When I copy php web site to /srv/www/htdocs/%website%, it won’t work.
| ERROR HTTP 500 apperas.
| Do I need to connect it somehow with MySQL database?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
The error message is telling you that the database and table used in your select query do not exist.
This probably means you haven’t named them exactly as used in your query.
In other words, while you may have a table called languages, does it exist in the database named sud?
I wonder if it’s just an issue with explicitly stating the schema.tablename on your query… I’ve seen this before in PostgreSQL. My suggestion would be to make a simple query page and locate it on the public_html folder on your home page. That way you can edit and call it again w/o having to mess with the main WWW folder. The way to access files on your local public_html folder is “http://localhost/~username/file.php”
If you can get a simple query working this way, then most likely your issue is with the way the PHP site is written…