on my server, PDO drivers are installed.
http://randani.com/test.php
but on my sub-domain I got this error message:
Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_UNKNOWN)
Class 'PDO' not found
my sub-domain:
http://dev.randani.com/
where is my wrong?
Related
I have a problem when I want to create an entity under symfony 5.1.9 (I have the same problem under sf 4.4). I recently created a new SF project and still have the same concerns. The error message is as follows: In Validator.php line 158:
Argument 2 passed to Symfony \ Bundle \ MakerBundle \ Validator :: validateDoctrineFieldName () must be an instance of Doctrine \ Common \ Persistence \ ManagerRegistry, instance of Doctrine \ Bundle \ DoctrineBundle \ Registry given, called in D: \ phpProject \ API-bills \ vendor \ sy
mfony \ maker-bundle \ src \ Maker \ MakeEntity.php on line 303.
Thanks for help
It seems like the latest version is having some troubles. The easy fix for now is to modify your composer.json file and "downgrade" the doctrine/doctrine-bundle, from version ^2.1 to 2.1.0. After making this change, run composer update and everything should work.
As Florian said, referer to the maker bundle issues to see the complete reference on this error.
return Redirect::to('')
->with('message',SiteHelpers::alert('success','Password has been saved!'));
I am getting error in above line saying that
Symfony \ Component \ Debug \ Exception \ FatalErrorException
(E_UNKNOWN)
Class 'SiteHelpers' not found
I kept SiteHelper.php in this path /var/www/html/login_session/app/library
I added "app/library" in my composer.json and run composer install in my terminal
I'm using L5(dev version) and trying to create package.
Doing `php artisan workbench za-web/Sidebar --resources
It's creating for me structure and service provider.
And then I'm trying to add service provider to app/config.php
'ZaWeb\Sidebar\SidebarServiceProvider'
I've got the error:
Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_ERROR)
Class 'ZaWeb\Sidebar\SidebarServiceProvider' not found
Also was trying to do composer dump-autoload but it doesn't helped.
I've figured out whats wrong, theres no autoload seciton for workmench directory in bootstrap/autoload.php
I've add it and not everything ok.
if (is_dir($workbench = __DIR__.'/../workbench'))
{
Illuminate\Workbench\Starter::start($workbench);
}
I'm running Laravel on Digital Ocean and trying to use Mailgun. Everything is configured correctly but when I try to run my script I get the error
Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_ERROR)
Class 'GuzzleHttp\Client' not found
on Symfony\Component\Debug\Exception\FatalErrorException
…/vendor/laravel/framework/src/Illuminate/Mail/Transport/MailgunTransport.php122
Has anybody encountered this issue?
I am trying to install the following project connect on osx lion.
cd /tmp
git clone git://github.com/dsyph3r/connect
cd connect
git submodule update --init
php bin/vendors install
When I run the following command php bin/vendors install I get the following messages:
[Symfony\Component\Config\Exception\FileLoaderLoadException]
Cannot import resource "parameters.ini" from "/private/tmp/connect/app/config/config.yml".
In order to fix the following error I did:
cp app/config/parameters.ini.dist app/config/parameters.ini
Then when I run the following command php bin/vendors install I get the following error:
PHP Fatal error: Class 'FOS\Rest\Util\Codes' not found in /private/tmp/connect/vendor/bundles/FOS/RestBundle/DependencyInjection/Configuration.php on line 115
Fatal error: Class 'FOS\Rest\Util\Codes' not found in /private/tmp/connect/vendor/bundles/FOS/RestBundle/DependencyInjection/Configuration.php on line 115
PHP Fatal error: Class 'FOS\Rest\Util\Codes' not found in /private/tmp/connect/vendor/bundles/FOS/RestBundle/DependencyInjection/Configuration.php on line 115
Fatal error: Class 'FOS\Rest\Util\Codes' not found in /private/tmp/connect/vendor/bundles/FOS/RestBundle/DependencyInjection/Configuration.php on line 115
What did I miss?
I suppose now the problem is in my app/config/parameters.ini.
How should it be?
There is an entry in the deps file for the FOSRestBundle, but not for the FOSRest library.
Look at the FOSRestBundle installation documentation, it shows how the deps file should look like. I guess this was one project 7 months ago, and it must have split after.