Icy Phoenix

     
 


This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post FAP SUPPORT - Problem With Personal Galleries 
 
Hello,

I'm happy that I found your new site (thanks to your email!) since I wasn't able to register on your old one.

BTW - this site looks FANTASTIC!!!  If I didn't just spend all the time setting up my new forum, I would have given this one a try.

Now on to the issue at hand...
I set up the FAP and have version 1.4.0.  When I try to set up a personal gallery, I get the following error:

Warning: main(./language/lang_/lang_album_main.php): failed to open stream: No such file or directory in /home/learn2sc/public_html/Forum/album_personal_cat_admin.php on line 34

I'm still learning a lot about PHP, the bb and coding so I'm not very knowledgeable when it comes to debugging.  I'm not sure what I'm supposed to be looking for with this error or how to correct it so any help would be greatly appreciated.
 




____________
Thanks
GG
 
GeekyGirlSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Problem With Personal Galleries 
 
For some reason your default language is not being set here.
Are you seeing any other problems ?
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Personal Galleries 
 
I think you are missing this file: lang_album_main.php
 



 
jzSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Personal Galleries 
 
jz wrote: [View Post]
I think you are missing this file: lang_album_main.php


I show that I have that file but is there something specific that should be in it that I need to look for or should I try to reupload the file all together.  If reloading the file is advised, is there one that is different than the one I have that came with the zipped file or one that I should try?

I'm not seeing any other problems...I've been able to upload pictures, set up categories, etc. just fine.  I haven't tested it with other users yet.
 



 
GeekyGirlSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Personal Galleries 
 
I'm sure your file is fine, the path, it is trying to access it at, is the problem.

For some reason this $language = $board_config['default_lang']; is not set here.

Your current path to the file is /language/lang_/lang_album_main.php

And it should be (for english) /language/lang_english/lang_album_main.php

Off hand I don't know why this is, but I haven't forgot you....... YET  
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Personal Galleries 
 
Try this and see if it makes any difference...

OPEN album_personal_cat_admin.php

FIND
Code: [Download] [Hide] [Select]
require_once($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_album_main.' . $phpEx);
require_once($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_album_admin.' . $phpEx);
require($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx);


REPLACE WITH
Code: [Download] [Hide] [Select]
//require_once($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_album_main.' . $phpEx);
//require_once($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_album_admin.' . $phpEx);
//require($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx);
require_once($phpbb_root_path . 'language/lang_' . $language . '/lang_album_main.' . $phpEx);
require_once($phpbb_root_path . 'language/lang_' . $language . '/lang_album_admin.' . $phpEx);
require($phpbb_root_path . 'language/lang_' . $language . '/lang_admin.' . $phpEx);

 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Personal Galleries 
 
Sorry I haven't been around.  I'm not getting emails when someone replies to my posts - I'll have to check my settings again.

Anyway, I've been dealing with another computer issue in Access this past week and have also been in limbo with my website while it changes over to a new host.  As soon as I have access to the site again (no pun intended   ), I'll give the code you posted a try!

I'll get back with you either way.

Thanks.
 



 
GeekyGirlSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Personal Galleries 
 
I changed the code as stated above.  It didn't solve the problem.  I still get the same error which I included below since it has the new domain name in it.

Warning: main(./language/lang_/lang_album_main.php) [function.main]: failed to open stream: No such file or directory in /home/scrapuni/public_html/Forum/album_personal_cat_admin.php on line 37
 



 
GeekyGirlSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Personal Galleries 
 
Strange  
There is nothing that you have edited that would cause this, without causing other errors.

Wonder if you may still be having corrupt FTP files ?

You might try re- FTPing album_mod/album_common.php and even album_personal_cat_admin.php

Restore the file above that you modified, back to it's original state .......
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Personal Galleries 
 
Tried that already with no change.

I've had this problem since the very first clean install on my old old site so I don't know where else to look.  Although I already have the 1.4.0 version installed, is there a way to try to install that update to see if it resolves the issue.  If I remember correctly, I had first installed version 1.2.1 and then upgraded to 1.4.0 - could that be contributing to the problem?
 



 
GeekyGirlSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Personal Galleries 
 
I don't think it's related to any previous installation, but lets' refresh a bit.

For this installtion (excluding the database) .... are the phpbb & album files clean.... as in contain no other version's code or files ?
AFAYK there are no other problems ?

Could you attach a copy of  your album_personal_cat_admin.php file here .... preferable the one from your server.
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Personal Galleries 
 
I didn't do a complete reinstall of FAP.  I just restored the backup database and restored the backup files for the forum.  I am not experiencing any other problems that I know of...my website isn't completely active so the only tests have be done by me and a fake account I set up to test.  But I can post images, edit them, have complete control in the admin panel, etc. so I'm not noticing any other problems or errors.

I've attached the file that is on my server.

album_personal_cat_admin.zip
Description:  
Download
Filename: album_personal_cat_admin.zip
Filesize: 5.67 KB
Downloaded: 243 Time(s)

 



 
GeekyGirlSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Personal Galleries 
 
This file is from an older version...... you should remove all the album files and copy over the album files from FAP 1.4.0a


And .....

Code: [Download] [Hide] [Select]
## 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.
##

 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Personal Galleries 
 
I did a brand new install of the FAP 1.4.0a files and updated the MySQL database.  I lost the images I had uploaded but no big deal to readd them.

The personal galleries are working now!  Thanks for all your help!!      

GG
 



 
GeekyGirlSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Personal Galleries 
 
You are welcome. Happy to hear you have things in order now.
 



 
ArtieSend private message  
Back to topPage bottom
This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events