"An Internal Error Has Occurred" message inside partially loaded page - Debian 7.8

132 views
Skip to first unread message

ro...@geneseo.edu

unread,
Mar 6, 2015, 10:34:03 AM3/6/15
to gots-d...@googlegroups.com

 Greetings,

I am running Debian 7.8   I have installed GOTS from the pre-built package. 

The page partially loads - it appears that the 'app' inside the page does not load and I get an "An Internal Error Has Occurred message". I attached a screen capture.

The following  is what I have in *both*  etc/apache2/sites-enabled/000-default.conf   and in

etc/apache2/sites-available/default.conf  :


DocumentRoot /var/www
        <Directory />
                Options FollowSymLinks
                AllowOverride All
        </Directory>
        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
        </Directory>


I tried using "Allow Override Files" and got a complete internal server error. "Allow Override All" at least allows the page to partially load.

I created a test php page "my-ip-address//guide_on_the_side/works.php" within the app folder and it loads properly.

Cake directory and all subdirectories are inside /lib   I set permissions for everything according to instructions. The database script worked, tables are in the database and the config.yml file is created.

Any help would be appreciated. I hope it's something right in front of me that I am missing :)  Thanks.


Screenshot from 2015-03-06 10:07:16.png

Mike Hagedon

unread,
Mar 17, 2015, 7:32:09 PM3/17/15
to gots-d...@googlegroups.com
Hi,
Try setting debug to 2 in app/Config/core.php, like so:

Configure::write('debug', 2);

That will give you a better error when you reload the page.

Mike

ro...@geneseo.edu

unread,
Mar 23, 2015, 9:23:02 AM3/23/15
to gots-d...@googlegroups.com, Leah Root
Greetings Mike,

I set debug to 2.  I also made sure there was a space after the colon for  each setting in config.yml



Here are the error messages:

Strict (2048): Declaration of FlexAuthComponent::initialize() should be compatible with AuthComponent::initialize(Controller $controller) [APP/Plugin/FlexAuth/Controller/Component/FlexAuthComponent.php, line 5]
Notice (8): Undefined index: Role [APP/Controller/AppController.php, line 39]
Strict (2048): Declaration of Tutorial::delete() should be compatible with Model::delete($id = NULL, $cascade = true) [APP/Model/Tutorial.php, line 555]
Strict (2048): Declaration of Tutorial::afterSave() should be compatible with Model::afterSave($created, $options = Array) [APP/Model/Tutorial.php, line 555]
Strict (2048): Declaration of SteppableBehavior::beforeSave() should be compatible with ModelBehavior::beforeSave(Model $model, $options = Array) [APP/Model/Behavior/SteppableBehavior.php, line 305]
Strict (2048): Declaration of TaggableBehavior::afterFind() should be compatible with ModelBehavior::afterFind(Model $model, $results, $primary = false) [APP/Plugin/Tags/Model/Behavior/TaggableBehavior.php, line 358]
Strict (2048): Declaration of TaggableBehavior::afterSave() should be compatible with ModelBehavior::afterSave(Model $model, $created, $options = Array) [APP/Plugin/Tags/Model/Behavior/TaggableBehavior.php, line 358]
Strict (2048): Declaration of CsvImportBehavior::setup() should be compatible with ModelBehavior::setup(Model $model, $config = Array) [APP/Plugin/Utils/Model/Behavior/CsvImportBehavior.php, line 217]
Strict (2048): Only variables should be passed by reference [CORE/Cake/Model/BehaviorCollection.php, line 150]
Strict (2048): Declaration of TinyMCEHelper::beforeRender() should be compatible with Helper::beforeRender($viewFile) [APP/Plugin/TinyMCE/View/Helper/TinyMCEHelper.php, line 95]

William Simpson

unread,
Apr 3, 2015, 12:24:47 PM4/3/15
to gots-d...@googlegroups.com, ro...@geneseo.edu
Hi,

Are you sure this is the entire error message?  I'm not seeing any fatal errors in the output.

-Will

Mike Hagedon

unread,
Apr 21, 2015, 4:54:49 PM4/21/15
to gots-d...@googlegroups.com, ro...@geneseo.edu
Hi,
If you haven't already, check the Apache error log, too.

Mike
Reply all
Reply to author
Forward
0 new messages