I have a site I'm trying to upgrade, which seemed to all work until this part.
- Change the following line from:
require_once(BX_DIRECTORY_PATH_INC . "security.inc.php");
to:require_once(BX_DIRECTORY_PATH_INC . "version.inc.php");
To make the update links for these
- Click here to update Wall module handlers and Shoutbox objects
- Click here to resize images from Photos module to the new dimentions
I had this error,
Warning: require_once(/home/website/public_html/inc/version.inc.php): failed to open stream: No such file or directory in /home/duvallocals/public_html/inc/header.inc.php on line 158
Fatal error: require_once(): Failed opening required '/home/website/public_html/inc/version.inc.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/website/public_html/inc/header.inc.php on line 158
Which is these lines..
Line - 157 //require_once(BX_DIRECTORY_PATH_INC . "security.inc.php");
Line - 158 require_once(BX_DIRECTORY_PATH_INC . "version.inc.php");
The links worked and updated the handlers and the photos resized.
I then made the changes as requested in
website.com/upgrade/?folder=7.1.6-7.2.0
Change security to version, it breaks the site.
Apply the security line back the site seems to work just fine.
The site has other modules, this is a test upgrade.
What is the reason for the line change? Oblivious it is another module I would think.
Input please...
What about my case, or others that have the /inc set to 555. It affected me and has others. Why don't the switch or upgrade check that folder permission?