redbaron76 / PongoCMS-Laravel-cms-bundle

a CMS bundle for Laravel 3.2 and Twitter Bootstrap 2.2.0
http://pongocms.com
Other
100 stars 32 forks source link

Your latest version from the master branch is failing to install #20

Open yovchev opened 11 years ago

yovchev commented 11 years ago

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 ?

pevete commented 11 years ago

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.

yovchev commented 11 years ago
  1. Change from editor to string is no function editor on the Table object migrations/2012_07_10_231143_create_users.php - line 21
  2. $table->editor('editor', 20);
  3. $table->string('editor', 20);
  4. Change the ; whit , migrations/2012_07_10_231143_create_users.php - line 37
  5. 'editor' => array_keys(Config::get('cms::settings.editor'))[0];
  6. 'editor' => array_keys(Config::get('cms::settings.editor'))[0],
  7. run php artisan migrate
  8. Put the ; after line 80 tasks/setup.php - line 80 -$sw_path = path('bundle').'swiftmailer' +$sw_path = path('bundle').'swiftmailer';
  9. change this line libraries\cmsutility.php - line 159
  10. if( array_key_exists($segments[1], Config::get('cms::settings.langs')) ) {
  11. if( isset($segments[1]) AND array_key_exists($segments[1], Config::get('cms::settings.langs')) ) {
redbaron76 commented 11 years ago

It should be fixed now. Pls check last commit.

Il giorno 03/feb/2013, alle ore 22:32, pevete notifications@github.com 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.

yovchev commented 11 years ago

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

yovchev commented 11 years ago

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

yovchev commented 11 years ago

Nice thank you readbaron76 cheek this... http://paste.laravel.com/gE6

yovchev commented 11 years ago

Nice thank you readbaron76 cheek this... paste . laravel . com / gE6

yovchev commented 11 years ago

Nice thank you readbaron76 can you cheek this i think is bug bug

pevete commented 11 years ago

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"}