https://www.icyphoenix.com/viewtopic.php?f=26&t=1321
-----------------------------------
Eddy Matthews
Tue 13 Mar, 2007 22:42

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

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

Re: Error After Upgrading
-----------------------------------
[quote user="Eddy Matthews" post="10049"]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
[/quote]

Sure it is....right in the install text ... same with all upgrades.

[quote=FAP 141 Install Text]# =======================================
## 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, [highlight=#FFFFAA]you should first uninstall
## the modifications listed in the installation files of those mods, and then apply the ones listed here[/highlight].
## 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.
## 
## **********************************************************************************************[/quote]


-----------------------------------
Eddy Matthews
Wed 14 Mar, 2007 07:35

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
[/quote]

As you can see it clearly states there are NO changes in the phpbb files....

Eddy


-----------------------------------
Artie
Wed 14 Mar, 2007 16:37

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

Re: Error After Upgrading
-----------------------------------
The part you were missing was part of FAP 1.4.0

[quote=FAP 1.4.0 Installation File]#
#-----[ 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[/quote]

So no changes from 1.4.0 to 1.4.1 in that part that was causing you error... am I wrong?


