hello guys!
im new to x10hosting and im glad that i found this cool site
i would like to inquire my problem about an error appearing in my website
in my local machine... the require is working but when i uploaded it into my site hosted here at x10hosting, im having some problems with require() in php
the mysql.inc.php is located in my INCLUDES folder together with my config.inc.php. i tried also putting require("includes/config.inc.php") but nothing happens... how can i resolve this one? :frown:
im new to x10hosting and im glad that i found this cool site
i would like to inquire my problem about an error appearing in my website
in my local machine... the require is working but when i uploaded it into my site hosted here at x10hosting, im having some problems with require() in php
Code:
[B]Warning[/B]: require(config.inc.php) [[URL="http://boneless.x10hosting.com/function.require"]function.require[/URL]]: failed to open stream: No such file or directory in [B]/home/boneless/public_html/includes/MySQL.inc.php[/B] on line [B]33[/B]
[B]Fatal error[/B]: require() [[URL="http://boneless.x10hosting.com/function.require"]function.require[/URL]]: Failed opening required 'config.inc.php' (include_path='.:/x10hosting/php1/lib/php') in [B]/home/boneless/public_html/includes/MySQL.inc.php[/B] on line [B]33[/B]
the mysql.inc.php is located in my INCLUDES folder together with my config.inc.php. i tried also putting require("includes/config.inc.php") but nothing happens... how can i resolve this one? :frown: