PongoCMS-Laravel-cms-bundle
PongoCMS-Laravel-cms-bundle copied to clipboard
Your latest version from the master branch is failing to install
I try to install it and is fails on allot of places when fix one something else is failing.
why you pushing changes to the master branch without testing them ?
I get this error when trying to install pongo:
php artisan cms::setup SQLSTATE[42S02]: Base table or view not found: 1146 Table 'homepage.pongo_files' doesn't exist
SQL: INSERT INTO pongo_files >VALUES(1,'fabio_fumis.jpg','jpg',50647,480,480,'/files/img/fabio_fumis.jpg','/files/img/thu mb/fabio_fumis_thumb.jpg',1,1,'2012-07-10 15:17:52','2012-07-10 15:17:52')
Bindings: array ()
Only "pongo_laravel_migrations" table is shown on database.
Latest Laravel is up and running (xampp, mysql) before I try to install pongo.
- Change from editor to string is no function editor on the Table object migrations/2012_07_10_231143_create_users.php - line 21
- $table->editor('editor', 20);
- $table->string('editor', 20);
- Change the ; whit , migrations/2012_07_10_231143_create_users.php - line 37
- 'editor' => array_keys(Config::get('cms::settings.editor'))[0];
- 'editor' => array_keys(Config::get('cms::settings.editor'))[0],
- run php artisan migrate
- Put the ; after line 80 tasks/setup.php - line 80 -$sw_path = path('bundle').'swiftmailer' +$sw_path = path('bundle').'swiftmailer';
- change this line libraries\cmsutility.php - line 159
- if( array_key_exists($segments[1], Config::get('cms::settings.langs')) ) {
- if( isset($segments[1]) AND array_key_exists($segments[1], Config::get('cms::settings.langs')) ) {
It should be fixed now. Pls check last commit.
Il giorno 03/feb/2013, alle ore 22:32, pevete [email protected] ha scritto:
I get this error when trying to install pongo:
php artisan cms::setup SQLSTATE[42S02]: Base table or view not found: 1146 Table 'homepage.pongo_files' doesn't exist
SQL: INSERT INTO pongo_files >VALUES(1,'fabio_fumis.jpg','jpg',50647,480,480,'/files/img/fabio_fumis.jpg','/files/img/thu mb/fabio_fumis_thumb.jpg',1,1,'2012-07-10 15:17:52','2012-07-10 15:17:52')
Bindings: array ()
Only "pongo_laravel_migrations" table is shown on database.
Latest Laravel is up and running (xampp, mysql) before I try to install pongo.
— Reply to this email directly or view it on GitHub.
Nice thank you redbaron76
can you check this because is failing on fresh installation. i think you need to cheek if issset because on / is failing
\bundles\cms\libraries\cmsutility.php on line 159
- if(array_key_exists($segments[1], Config::get('cms::settings.langs'))) {
- if(isset($segments[1]) AND array_key_exists($segments[1], Config::get('cms::settings.langs'))) {
Nice thank you readbaron76
can you check this \bundles\cms\libraries\cmsutility.php on line 159
i think you can cheek if isset before array_key_exists http://paste.laravel.com/gE3
Nice thank you readbaron76 cheek this... http://paste.laravel.com/gE6
Nice thank you readbaron76 cheek this... paste . laravel . com / gE6
Nice thank you readbaron76
can you cheek this i think is bug
After updating pongo with latest commits there is no more error message like above, but I can't see any content.. only 404 error message.
/CMS is working..not well, but at least I can access it. I tried to create new gallery and I got many error messages. Like: >/cms/ajax_gallery/save_gallery
Unhandled Exception
Message: Undefined index: back_url Location: E:\xampp\www\testpage\bundles\cms\controllers\ajax_gallery.php on line 93
I also got empty page with this message when there were spaces in gallery name:
{"messages":{"gallery_name":["Name cannot contain spaces."]},"format":":message"}