I am creating a site using PHP and Smarty as template engine, so far I am still working on a local enviroment (wampserver). The problem is that one of 5 times I load a template page I get a error, if I refresh I get the page normally, but this is a problem, I can't get this error this often. The error is this:
( ! ) Fatal error: Uncaught exception 'ErrorException' with message 'include(C:\wamp\www\network_italiaChannel\templates_c\%%66^666^666FBF6C%%amministratore_editvideo.tpl.php): failed to open stream: Permission denied' in
C:\wamp\www\network_italiaChannel\libs\Smarty.class.php on line 1264
ErrorException: include(C:\wamp\www\network_italiaChannel\templates_c\%%66^666^666FBF6C%%amministratore_editVideo.tpl.php): failed to open stream: Permission denied in C:\wamp\www\network_italiaChannel\libs\Smarty.class.php on line 1264
Related
When i try to open my PHP website, it's giving the 500 error in the console. The error log shows this error:
PHP Fatal error: require_once(): Failed opening required '../assets/init.php' (include_path='.:/opt/cpanel/ea-php73/root/usr/share/pear') in /home3/bcaftanc/public_html/thequrantube/index.php on line 13
But in the index.php file in line 13, i don't have it like the error says, it's written like this:
require_once('./assets/init.php');
What could be the issue ?
I'm getting this error:
Warning: require(/home/wiseman/public_html/path/to/facebook-php-sdk-v4/autoload.php): failed to open stream: No such file or directory in /home/wiseman/public_html/facebook.php on line 3
Fatal error: require(): Failed opening required '/home/wiseman/public_html/path/to/facebook-php-sdk-v4/autoload.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wiseman/public_html/facebook.php on line 3
The sdk has been installed by the host server and I can see the autoload file in exactly the path it's looking for. Anyone know what the problem could be? I'm new to working with facebook and am really green so be gentle! :)
so my script is running in my localhost(pc1) and i am trying to save an excel file using phpexcel in a network folder (\\pc2\c$\myfolder) but it gives me an error saying that i dont have permission in that particular folder eventhough i have a full access. I can manually create, edit or deleta a file in that folder.
error msg:
Warning: fopen(\\pc2\c$\myfolder\12122014.xls) [function.fopen]: failed to open stream: Permission denied in C:\wamp\www\receivables\PHPExcel\Shared\OLE\PPS\Root.php on line 90
Fatal error: Uncaught exception 'PHPExcel_Writer_Exception' with message 'Can't open \\pc2\c$\myfolder\12122014.xls. It may be in use or protected.' in C:\wamp\www\receivables\PHPExcel\Shared\OLE\PPS\Root.php:93 Stack trace: #0 C:\wamp\www\receivables\PHPExcel\Writer\Excel5.php(226): PHPExcel_Shared_OLE_PPS_Root->save('\\ipcsvs001\c...') #1 C:\wamp\www\receivables\index.php(241): PHPExcel_Writer_Excel5->save('\\ipcsvs001\c...') #2 {main} thrown in C:\wamp\www\receivables\PHPExcel\Shared\OLE\PPS\Root.php on line 93
note: i am using wamp server(not sure if this matters)
I uploaded my WordPress directory from localhost to server but the following error occurs
Warning: require_once(/home/greenvalleyfruits/greenvalleyfruits.com/sctc/wp-includes/wp-db.php): failed to open stream: No such file or directory in/home/greenvalleyfruits/greenvalleyfruits.com/sctc/wp-includes/load.php on line 345`
Fatal error: require_once(): Failed opening required '/home/greenvalleyfruits/greenvalleyfruits.com/sctc/wp-includes/wp-db.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in/home/greenvalleyfruits/greenvalleyfruits.com/sctc/wp-includes/load.php on line 345
I am new to Laravel 4. When I upload my app to my website it shows errors. How should I configure it to fix it?
Warning: require(__DIR__/../bootstrap/autoload.php) [function.require]: failed to open stream: No such file or directory in /home/a4651312/public_html/laravel/public/index.php on line 21
PHP Error Message Fatal error: require() [function.require]: Failed opening required '__DIR__/../bootstrap/autoload.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a4651312/public_html/laravel/public/index.php on line 21.
I put my app (name laravel) in public_htmt and sent a link from default.html to public.