Loading ...

Admin directory error after update to 2.3.1 from 2.3

Board index / PHP Melody - Video CMS

For PHP Melody version 2 and newer

Postby brightboss on Jun 02, 2015 8 am


After I updated to 2.3.1 I get the following code error. As a temp fix I manually typed in admin in header.php - But I should have to manually fix this. What is it that's going wrong that it's not detecting the admin folder? Here is the code error. Any help would be much appreciated. Thanks.

Code of Error:
Code: Select all
Warning: include(/home/viewgo/public_html/_ADMIN_FOLDER/functions.php): failed to open stream: No such file or directory in /home/viewgo/public_html/admin/header.php on line 21

Warning: include(): Failed opening '/home/viewgo/public_html/_ADMIN_FOLDER/functions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/viewgo/public_html/admin/header.php on line 21

Fatal error: Call to undefined function get_true_max_filesize() in /home/viewgo/public_html/admin/header.php on line 82
brightboss
Verified Customer
Verified Customer
 
Posts: 11
Joined: Jun 06, 2014 5 pm
Reputation points: 0

Postby brightboss on Jun 02, 2015 8 am


I found the fix. I noticed that my config.php file did not have this line "define('_ADMIN_FOLDER', 'admin');", after comparing config-sample.php

Code: Select all
define('_ADMIN_FOLDER', 'admin');
Thus the reason for it working when I manually stated the path in header.php
brightboss
Verified Customer
Verified Customer
 
Posts: 11
Joined: Jun 06, 2014 5 pm
Reputation points: 0


Who is online

Users browsing this forum: No registered users and 17 guests

cron