mrakodol / Laravel-5-Bootstrap-3-Starter-Site

Laravel Framework 5 Bootstrap 3 Starter Site is a basic application with news, photo and video galeries.
884 stars 406 forks source link

error after composer install 2 #108

Closed cladon closed 9 years ago

cladon commented 9 years ago

I have installed the last release of xampp and composer and i still get the same error

error

stojankukrika commented 9 years ago

Try delete vendor directory and try again composer install.

cladon commented 9 years ago

I have deleted vendor and tried again composer install. I have to create a gitHub oAuth token to get over the API rate?

error2

Where can I do this?

stojankukrika commented 9 years ago

I never get this error. Maybe laravel or other package change. I do not know where is problem, but I try to fix it soon.

cladon commented 9 years ago

I will come back later this evening. I am from Belgium and the time is 21:02.

cladon commented 9 years ago

I was abel to regeneratie the github oAuth token. I have deleted the directory "vendor" and tried again composer install.

I get these lines

D:\xampp\htdocs\Dev\Syntra\BE2\Laravel-5-Bootstrap-3-Starter-Site-master>composer install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file

symfony/var-dumper suggests installing ext-symfony_debug () maximebf/debugbar suggests installing kriswallsmith/assetic (The best way to manage assets) maximebf/debugbar suggests installing predis/predis (Redis storage) symfony/translation suggests installing symfony/config () symfony/security-core suggests installing symfony/expression-language (For using the expression voter) symfony/security-core suggests installing symfony/validator (For using the user password constraint) symfony/routing suggests installing symfony/config (For using the all-in-one router or any loader) symfony/routing suggests installing symfony/expression-language (For using expression matching) symfony/event-dispatcher suggests installing symfony/dependency-injection () symfony/http-kernel suggests installing symfony/browser-kit () symfony/http-kernel suggests installing symfony/class-loader () symfony/http-kernel suggests installing symfony/config () symfony/http-kernel suggests installing symfony/dependency-injection () psy/psysh suggests installing ext-pcntl (Enabling the PCNTL extension makes PsySH a lot happier :)) psy/psysh suggests installing ext-pdo-sqlite (The doc command requires SQLite to work.) psy/psysh suggests installing ext-posix (If you have PCNTL, you'll want the POSIX extension as well.) psy/psysh suggests installing ext-readline (Enables support for arrow-key history navigation, and showing and manipulating command history.) monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB) monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server) monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required)) monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server) monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server) monolog/monolog suggests installing raven/raven (Allow sending log messages to a Sentry server) monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar) monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server) monolog/monolog suggests installing videlalvaro/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib) league/flysystem suggests installing league/flysystem-aws-s3-v2 (Allows you to use S3 storage with AWS SDK v2) league/flysystem suggests installing league/flysystem-aws-s3-v3 (Allows you to use S3 storage with AWS SDK v3) league/flysystem suggests installing league/flysystem-azure (Allows you to use Windows Azure Blob storage) league/flysystem suggests installing league/flysystem-cached-adapter (Flysystem adapter decorator for metadata caching) league/flysystem suggests installing league/flysystem-copy (Allows you to use Copy.com storage) league/flysystem suggests installing league/flysystem-dropbox (Allows you to use Dropbox storage) league/flysystem suggests installing league/flysystem-eventable-filesystem (Allows you to use EventableFilesystem) league/flysystem suggests installing league/flysystem-rackspace (Allows you to use Rackspace Cloud Files) league/flysystem suggests installing league/flysystem-sftp (Allows you to use SFTP server storage via phpseclib) league/flysystem suggests installing league/flysystem-webdav (Allows you to use WebDAV storage) league/flysystem suggests installing league/flysystem-ziparchive (Allows you to use ZipArchive adapter) league/flysystem suggests installing predis/predis (Allows you to use Predis for caching) laravel/framework suggests installing aws/aws-sdk-php (Required to use the SQS queue driver and SES mail driver (~2.4).) laravel/framework suggests installing guzzlehttp/guzzle (Required to use the Mailgun and Mandrill mail drivers (~5.0).) laravel/framework suggests installing iron-io/ironmq (Required to use the iron queue driver (~1.5).) laravel/framework suggests installing league/flysystem-aws-s3-v2 (Required to use the Flysystem S3 driver (~1.0).) laravel/framework suggests installing league/flysystem-rackspace (Required to use the Flysystem Rackspace driver (~1.0).) laravel/framework suggests installing pda/pheanstalk (Required to use the beanstalk queue driver (~3.0).) laravel/framework suggests installing predis/predis (Required to use the redis cache and queue drivers (~1.0).) intervention/image suggests installing ext-imagick (to use Imagick based image processing.) intervention/image suggests installing intervention/imagecache (Caching extension for the Intervention Image library) fzaninotto/faker suggests installing ext-intl () yajra/laravel-datatables-oracle suggests installing league/fractal (Can be use to transform DataTables output in a proper API format) phpdocumentor/reflection-docblock suggests installing dflydev/markdown (~1.0) phpdocumentor/reflection-docblock suggests installing erusev/parsedown (~1.0) phpspec/phpspec suggests installing phpspec/nyan-formatters (~1.0 ÔÇô Adds Nyan formatters) sebastian/global-state suggests installing ext-uopz (_) phpunit/phpunit suggests installing phpunit/php-invoker (~1.1) Generating autoload files

[Symfony\Component\Debug\Exception\FatalErrorException] syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING)

Script php artisan clear-compiled handling the post-install-cmd event returned with an error

[RuntimeException] Error Output:

sineld commented 9 years ago

change

"scripts": {
    "post-update-cmd": [
      "php artisan clear-compiled",
      "php artisan optimize"
    ]
},

to

"scripts": {
    "post-update-cmd": [
    ]
},

in composer.json This may solve this issue.

cladon commented 9 years ago

I have done the changes in composer.json and I have done the same steps as in the previous commit.

I get the same errors

cladon commented 9 years ago

Is there a bug in the file FatalErrorException.php?

[Symfony\Component\Debug\Exception\FatalErrorException] syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING)

cladon commented 9 years ago

It was a problem with a difficult uninstall of Xampp.

It is working fine at this moment!!

stojankukrika commented 9 years ago

How did you fix the problem? Because I didn't make that situation and works well in my xampp on may local computer.

cladon commented 9 years ago

I have a Laptop and a desktop computer. On my laptop it worked perfect. On my desktop it didn't work. On both computers i use xampp.

THe version of PHP on my laptop >5,5 was and on my desktop < 5,5.

Before a new install of xampp i did a uninstall of the program. The folder xampp was not deleted. In was unpossible to deleted it.

I did a new install of xampp on a different partition of my harddisk. It was working perfect but php was not > 5,5. Strange!!!

I did againe a uninstall of xampp. Ideleted the remaining folder on my disk with the program "unlocker". Now i was able to delete the whole folder xampp.

I did again a new install of xampp.

I followed the steps in you manual and now it is working perfect.

THe only problem i have now is how to restore my databases into the folder d:\xampp\mysql\data without problems. When i restore all the databases and files I haven't access to myphpadmin ....

That is a problem for the futher ...

stojankukrika commented 9 years ago

Hm... Strange!

For new problem.I have a same problem when I install a xampp. Well, then I try only copy mysql\data files, and mysql shows me a databases, and tables in left side but I can't access to any database table and some table is missing. So I must install MySQL Workbench and find a way to start old xampp and backup all database into one dump file, and then restore it in new xampp and everything is works.I think that mysql lose access rights in that copying files so that may be a problem, but with backup everything works perfect.

cladon commented 9 years ago

Do you only copy the data files? I copied the whole folder but. The result is that i haven't access to mysql.

stojankukrika commented 9 years ago

Yea I copyed all files from data folder from one server to other,but I cann't access to my tables on any database.But helps backup databases and restore to new version of server.

cladon commented 9 years ago

Hello Stojan

In the file index.blade.php (... \resources\views\admin\users\index.blade.php? you are using {{ trans( "admin/modal.new" ) }

Can you explaine what is does. I can not find any info about it.

Greetings

Donald

----- Oorspronkelijk bericht -----

Van: "Stojan Kukrika" notifications@github.com Aan: "mrakodol/Laravel-5-Bootstrap-3-Starter-Site" Laravel-5-Bootstrap-3-Starter-Site@noreply.github.com Cc: "donald claessens" donald.claessens@telenet.be Verzonden: Zaterdag 6 juni 2015 16:00:59 Onderwerp: Re: [Laravel-5-Bootstrap-3-Starter-Site] error after composer install 2 (#108)

Yea I copyed all files from data folder from one server to other,but I cann't access to my tables on any database.But helps backup databases and restore to new version of server.

— Reply to this email directly or view it on GitHub .

stojankukrika commented 9 years ago

Trans method is overlaped language class that translate text in selected language.Please read i laravel docs about multilanguages. Greetings

manshu commented 8 years ago

that should be solved with composer require predis/predis