FAP SUPPORT - Error After Upgrading »  Show posts from    to     

Icy Phoenix


Archived phpBB Topics (Styles, Mods, Support) - FAP SUPPORT - Error After Upgrading



Eddy Matthews [ Tue 13 Mar, 2007 22:42 ]
Post subject: FAP SUPPORT - Error After Upgrading
After upgrading from FAP 1.4.0 to 1.4.1 I get the following error:

Warning: main(../ALBUM_MOD_PATHalbum_common.php): failed to open stream: No such file or directory in /home/server222/p/paddleducks.co.uk/user/htdocs/forum/admin/admin_album_auth.php on line 46

It's always the same ALBUM_MOD_PATH error in either admin or if I try to login to FAP....

I've replaced ALL the files, not just those that were listed as chaged, and I've run the fap_install.php file and selected the "Upgrade" option, though that did create dozens of errors!

Has anyone got any ideas please?

Regards
Eddy


Eddy Matthews [ Wed 14 Mar, 2007 00:35 ]
Post subject: Re: Error After Upgrading
Making a few minor changes to various files has cured this problem - However, I did notice that one of the changes I had to make was to the phpBB includes/constants.php file and this isn't listed as a necessary change from 1.4.0 to 1.4.1

A couple of other files also needed modifying, but at least everything is now working....

Regards
Eddy


Artie [ Wed 14 Mar, 2007 02:27 ]
Post subject: Re: Error After Upgrading
Eddy Matthews wrote: [View Post]
Making a few minor changes to various files has cured this problem - However, I did notice that one of the changes I had to make was to the phpBB includes/constants.php file and this isn't listed as a necessary change from 1.4.0 to 1.4.1


Sure it is....right in the install text ... same with all upgrades.

FAP 141 Install Text wrote: 
# =======================================
## Upgrading from Smartor Album or older FAP or combination of Smartor Album and some Album Mods
## =======================================
##
## If you are upgrading from older versions of Smartor Album or FAP, you should first uninstall
## the modifications listed in the installation files of those mods, and then apply the ones listed here
.
## There is no need to remove the SQL part, since you can use "fap_install.php" to upgrade from any version.
## Just remember that if you are upgrading from older Album version, you may need to run even the
## Personal Galleries migration step from "fap_install.php", just after having installed FAP.
##
## **********************************************************************************************


Eddy Matthews [ Wed 14 Mar, 2007 07:35 ]
Post subject: Re: Error After Upgrading
I read what is posted on the IcyPhoenix home page....

Quote:

Code changes from FAP 1.4.0 in phpBB core files

Code: [Hide] [Select]
Code: [Show]
NO CHANGES IN CORE FILES


As you can see it clearly states there are NO changes in the phpbb files....

Eddy


Artie [ Wed 14 Mar, 2007 16:37 ]
Post subject: Re: Error After Upgrading
I think the only core file that was changed (from 140) was lang_admin.php
It would not have cause any problem, if you did not change it.


Mighty Gorgon [ Thu 22 Mar, 2007 02:05 ]
Post subject: Re: Error After Upgrading
The part you were missing was part of FAP 1.4.0

FAP 1.4.0 Installation File wrote: 
#
#-----[ OPEN ]------------------------------------------------
#
includes/constants.php
#
#-----[ FIND ]------------------------------------------------
#
if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
}
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Mighty Gorgon - Full Album Pack - BEGIN
define('ALBUM_MOD_PATH', 'album_mod/');
define('ALBUM_FILES_PATH', 'album_mod/upload/');
include($phpbb_root_path . ALBUM_MOD_PATH . 'album_constants.' . $phpEx);
// Mighty Gorgon - Full Album Pack - END


So no changes from 1.4.0 to 1.4.1 in that part that was causing you error... am I wrong?




Powered by Icy Phoenix