tiagodiogo / php-serial

Automatically exported from code.google.com/p/php-serial
0 stars 0 forks source link

I cannot load the class and write #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am new to php. I just have an html class that has a post method which calls a 
php file called match.php. In the php file I include the class as follows

include "php_serial.class.php";

Then when I try to start the class by writing the follows I get an error

$serial = new phpSerial;

The error is as follows

Server error
The website encountered an error while retrieving http://localhost/match.php. 
It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this webpage later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered 
while the server was attempting to fulfill the request.

Original issue reported on code.google.com by abhayath...@gmail.com on 10 Feb 2013 at 3:10