plz help me Warning: require_once(library/customer.php) [function.require-once]: failed to open stream: No such file or directory in /home/tabpcmar/public_html/index.php on line 15 Fatal error: require_once() [function.require]: Failed opening required 'library/customer.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tabpcmar/public_html/index.php on line 15
The error should be self-explanatory - your index page is trying to open "library/customer.php" and this file doesnt exist. Have you checked if the file is there / accessible?
Check your include paths. You can use something like this: ini_set('include_path',ini_get('include_path').':../includes:'); Code (markup): to add your custom path to already defined ones.
system/library/customer.php Code (markup): Replace your include path with the above - what does it say ?
If customer.php is in public_html/system/library/ and index.php is in public_html/ then you need to include system/library/customer.php, not just library/customer.php
I Replace "system/library/customer.php" files but now dont open any page! this is my site tabpcmarket.ir
is startup.php in the same folder as index.php ? if not change the path in require to point at startup.php or move startup.php to the same folder as index.php
Did you code these files? If not, you might want to consult the manual or the person that wrote it for assistance. The error is fairly self-explanatory; Warning: require_once(library/customer.php) [function.require-once]: failed to open stream: No such file or directory in /home/tabpcmar/public_html/index.php on line 15 It has told you everything you need to know here; index.php is trying to open library/customer.php and it cant because it doesnt exist. Your file structure is wrong, or you havent uploaded all of the files. It doesnt make these things up, so the problem you need to fix has been clearly identified. Later on, you have replaced this with system/library/customer.php so clearly the path was incorrect; if this still isnt working then have you worked through every step as detailed in the manual of this script? If this is something you have created, what debugs have you done on this?