AccessManager / access-manager

www.accessmanager.in
61 stars 30 forks source link

Access Manager Installation PHP Fatal Error #8

Closed ceeci closed 9 years ago

ceeci commented 9 years ago

Hi, Your app is awesome. I am interested and just as i followed installation guide i got this error after issuing the following command; sudo composer create-project access-manager/access-manager

Generating autoload files PHP Fatal error: Class 'Thujohn\Pdf\PdfServiceProvider' not found in /var/www/html/access-manager/laravel/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 157 {"error":{"type":"Symfony\Component\Debug\Exception\FatalErrorException","message":"Class 'Thujohn\Pdf\PdfServiceProvider' not found","file":"\/var\/www\/html\/access-manager\/laravel\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/ProviderRepository.php","line":157}}Script php laravel/artisan clear-compiled handling the post-install-cmd event returned with an error

[RuntimeException] Error Output: PHP Fatal error: Class 'Thujohn\Pdf\PdfServiceProvider' not found in /var/www/html/access-manager/laravel/vendor/laravel/framework/src/ Illuminate/Foundation/ProviderRepository.php on line 157 kindly find attaced snapshot Thank you!! snapshot2

rahulmkhj commented 9 years ago

fixed with: 18f5a7c331981e8e4508d480ae310b30ca53bc9c try running "sudo composer update" from within access-manager directory, if the issue is not resolved, delete the access-manager directory completely & re-issue "sudo composer create-project access-manager/access-manager"

ceeci commented 9 years ago

Thanks Sir.. I will do that and get back to you.

ceeci commented 9 years ago

Sir, The update applied correctly but I run into another error after deleted the access-manager directory and had re-issued "sudo composer create-project access-manager/access-manager" " Could not open input file: artisan Script php artisan config:publish thujohn/pdf handling the post-create-project-cmd event returned with an error [RuntimeException] Error Output: " Thanks! snapshot3

rahulmkhj commented 9 years ago

Sorry, for the inconvenience, I missed that in last commit. Now its been rectified, please try once more.

ceeci commented 9 years ago

Thanks very much sir, Sorry to border you again...I have crushed into another error just after issuing this command... "php artisan migrate:refresh --seed"

" Do you really wish to run this command? yes PHP Fatal error: Call to undefined method DirecpaySettings::insert() in /var/www/html/access-manager/laravel/app/database/seeds/DefaultsSeeder.php on line 60 {"error":{"type":"Symfony\Component\Debug\Exception\FatalErrorException","message":"Call to undefined method DirecpaySettings::insert()","file":"\/var\/www\/html\/access-manager\/laravel\/app\/database\/seeds\/DefaultsSeeder.php","line":60}} ceeci@appserver:/var/www/html/access-manager/laravel$ " Thanks Sir err_snapshot

rahulmkhj commented 9 years ago

I just tried it on my laptop & the process was smooth. If you face any issues with installation, kindly post them on http://forum.accessmanager.in

ghost commented 9 years ago

when i try to install access-manager i run into this problem

[RuntimeException]
Error Output: PHP Fatal error: Cannot redeclare makeExpiry() (previously declared in /var/www/html/access-manager/la
ravel/vendor/access-manager/am-helpers/src/Helpers.php:23) in /var/www/html/access-manager/laravel/app/helpers.php on
line 28