PHP Classes


Recommend this page to a friend!

      PHP Database Class Generator  >  All threads  >  Error  >  (Un) Subscribe thread alerts  
Subject:Error not encountered
Author:Gabriel Barrios
Date:2015-02-16 21:58:56

  1. Error   Reply   Report abuse  
Picture of Gabriel Barrios Gabriel Barrios - 2015-02-16 21:58:56

After run sample-generate.php script and try to run example.php I receive this error message.

Warning: require_once(classes/ failed to open stream: No such file or directory in /home/u981758803/public_html/db-class-generator/example.php on line 2

Fatal error: require_once(): Failed opening required 'classes/' (include_path='.:/opt/php-5.5/pear') in /home/u981758803/public_html/db-class-generator/example.php on line 2

  2. Re: Error   Reply   Report abuse  
Picture of Kamran Shahid Butt Kamran Shahid Butt - 2015-02-18 10:55:30 - In reply to message 1 from Gabriel Barrios
Dear You need to use genrator.php this class and the sample code of this class is aviable in sample-generate.php, once you run the class it will generate the DAL. example.php file is generated by it you dont need to use it, you just use genrator.php file to generate the Data access Layer.