i had a problem
i use codeigniter 3.0.6 and my server is lampp with PHP Version 5.5.38
i want use cjax 5.9 in codeigniter but when i merge ci and cjax and i go to this url:http://localhost/ci_ajax/ajax.php?test/test
i see this error
Warning: require_once(/opt/lampp/htdocs/ci_ajax/cjax/ajax.php): failed to open stream: Permission denied in /opt/lampp/htdocs/ci_ajax/ajax.php on line 32
Fatal error: require_once(): Failed opening required '/opt/lampp/htdocs/ci_ajax/cjax/ajax.php' (include_path='.:/opt/lampp/lib/php') in /opt/lampp/htdocs/ci_ajax/ajax.php on line 32
can you help me?
sorry for bad english typing and tanks
Related
PHP Fatal error: Interface 'JsonSerializable' not found in /home/peoplesi/public_html/core/vendor/laravel/framework/src/Illuminate/Support/Collection.php on line 40
i get this error when i upload it to cpanel
My php version is 7
i also tried composer update many time
Can anyone kindly give me a solution to remove this error
I'm at a total loss here.
All I am trying to do is clone a Laravel Project onto my local mac machine and I've probably spent 10 - 12 hours on this and I keep getting the same errors over and over.
I've tried Homestead, MAMP and now I am on Valet.
I can load the app but all the links are broken so the CSS and JS don't load.
After I clone (via bitbucket) the project I hit the test site on my machine and I get this error:
Warning: require(/Users/henry/sites/nestdb2017/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /Users/henry/sites/nestdb2017/bootstrap/autoload.php on line 17
Fatal error: require(): Failed opening required '/Users/henry/sites/nestdb2017/bootstrap/../vendor/autoload.php' (include_path='.:/usr/local/Cellar/php/7.3.9_1/share/php/pear') in /Users/henry/sites/nestdb2017/bootstrap/autoload.php on line 17
The next thing I do is I try to install the missing vendor files by doing this:
composer update --no-scripts
which then throw the broken links.
Literally I'm going to have to throw the towel in here...
It's unbelievable how hard this is.
Is it because the source files are corrupt in the first instance??
Try
composer install
php artisan clear-compiled
Then
composer dumpautoload
Tell us the results.
I'm trying to install laravel from git. I cloned the repository and tried the command
php artisan serve
But It gave this error message.
Warning:
require(C:\wamp64\www\reguard\bootstrap/../vendor/autoload.php):
failed to open stream: No such file or directory in
C:\wamp64\www\reguard\bootstrap\autoload.php on line 17
Fatal error: require(): Failed opening required
'C:\wamp64\www\reguard\bootstrap/../vendor/autoload.php'
(include_path='.;C:\php\pear') in
C:\wamp64\www\reguard\bootstrap\autoload.php on line 17
and I ran a composer install
But it stopped with this error,
[RuntimeException] libraries/admin/ does not exist and could not be
created.
So I ran a composer du as the first comment but now getting this,
[Symfony\Component\Debug\Exception\FatalErrorException] Class
'R2S\Admin\Providers\AdminServiceProvider' not found
Hope someone can help.
I am trying to use Laravel 5.1 with phpdesktop (https://github.com/cztomczak/phpdesktop). I configured everything according to instructions but I get a fatal error for the first page itself.
Fatal error: Call to undefined function Illuminate\Foundation\Bootstrap\mb_internal_encoding() in H:\app\laravel\www\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\LoadConfiguration.php on line 43
I am unable to solve this problem. Both PHPDesktop and laravel versions are latest ones.
You need to install mbstring extension for PHP.
Check Enable mbstring extension on Windows
I thought it was about time to look at a PHP Framework so I chose laravel. However, getting it running is causing me grief.
I followed the video from nettuts installing laravel 4 and at 5.05mins into the video he uses the php command-line server command (available from 5.4) php -S localhost:8888 -t public/ followed by confirming that it works via localhost:8888 in the browser which displays 'Hello Wolrd!'
I have XAMPP installed and my version of PHP is 5.3.15. I attempted to test it by doing http://localhost/learning-laravel/public/
At this point I have already downloaded composer and installed the dependancies successfully.
But I keep getting the following error:
Warning: require(/Applications/XAMPP/xamppfiles/htdocs/learning-laravel/bootstrap/../vendor/autoload.php) [function.require]: failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/learning-laravel/bootstrap/autoload.php on line 17
Fatal error: require() [function.require]: Failed opening required '/Applications/XAMPP/xamppfiles/htdocs/learning-laravel/bootstrap/../vendor/autoload.php' (include_path='.:/Applications/XAMPP/xamppfiles/lib/php:/Applications/XAMPP/xamppfiles/lib/php/pear') in /Applications/XAMPP/xamppfiles/htdocs/learning-laravel/bootstrap/autoload.php on line 17
Inside my learning-laravel folder I do have bootstap/autoload.php
Can someone please help? Thanks.
I had another look at my folder structure and I noticed that composer had not run correctly and there were missing files. I've reinstalled it and it appears to be working.