https://www.icyphoenix.com/viewtopic.php?f=26&t=2664
-----------------------------------
VirtualTelescope
Wed 22 Aug, 2007 16:49

FAP SUPPORT - Help Installing FAP
-----------------------------------
Hi all,

I would like to install the latest release of FAP in my http://virtualtelescope.bellatrixobservatory.org/phpBB2/ forum.

I managed to copy the files accordingly with the txt file included in the archive. However, while the same file lists the ones needing to be edited, I do not see what to edit.

Can you kindly help me?

Thank you so much,
VirtualTelescope


-----------------------------------
Artie
Wed 22 Aug, 2007 17:00

Re: Help Installing FAP
-----------------------------------
The [highlight=#FFFFAA]full_album_pack_1_4_1.txt[/highlight] file should show you what and where to edit.....Scroll down aways, you will find it.


-----------------------------------
VirtualTelescope
Wed 22 Aug, 2007 17:09

Re: Help Installing FAP
-----------------------------------
Thanks Artie for responding!

I did see your tutorial too and there you say that the edited parts are listed on the txt. I'm scrolling it:

I do see the list of file to be edited and files included, then some credits. Features of the current release follow, as well as updates history. The instructions to copy files and CHMOD. Finally a very long list for online exection, I guess, but I shoudl edit the files manually.

I apologize if I'm missing something and I thank you for giving me such a chance to learn.

VirtualTelescope


-----------------------------------
Artie
Wed 22 Aug, 2007 17:15

Re: Help Installing FAP
-----------------------------------
[quote user="VirtualTelescope" post="18830"]Finally a very long list for online exection[/quote]

Keep scrolling .... look for:

[codeblock]#
#-----[ OPEN ]------------------------------------------------
#
viewonline.php
#[/codeblock]

this is the beginning of the edits


-----------------------------------
VirtualTelescope
Wed 22 Aug, 2007 18:19

Re: Help Installing FAP
-----------------------------------
Many thanks!

I did find all those changes, did it and uploaded.

At this point, I simply pointed my prowser to the my forum, but I still do not see the album option.

If I point, with my browser, fap_install.php I get this message:

Only admins may run this script!!!

I'm sure I'm missing something.

Thanks is advance,
VT


-----------------------------------
Artie
Wed 22 Aug, 2007 18:26

Re: Help Installing FAP
-----------------------------------
[quote user="VirtualTelescope" post="18832"]
At this point, I simply pointed my prowser to the my forum, but I still do not see the album option.[/quote]

Applying the required edit to [i][b]templates/subSilver/overall_header.tpl[/b][/i] should give you the Album link.

[quote user="VirtualTelescope" post="18832"]

If I point, with my browser, fap_install.php I get this message:

Only admins may run this script!!![/quote]

It states in the install text

[b]Or you can copy "fap_install.php" to your phpBB root and execute it from your browser [highlight=#FFFFAA]when you're logged in with admin rights[/highlight][/b]


-----------------------------------
VirtualTelescope
Wed 22 Aug, 2007 18:28

Re: Help Installing FAP
-----------------------------------
Or, better, I see it in the english language options, but if I click on album I get an error. You can try here:

http://virtualtelescope.bellatrixobservatory.org/phpBB2/

I do not understand the error :(
Could not query Album config information

DEBUG MODE

SQL Error : 1146 Table 'Sql155990_1.phpbb_album_config' doesn't exist

SELECT * FROM phpbb_album_config

Line : 75
File : album_common.php

Please help,
VT


-----------------------------------
Artie
Wed 22 Aug, 2007 18:39

Re: Help Installing FAP
-----------------------------------
Did you run the file fap_install.php while logged in as admin ?


-----------------------------------
VirtualTelescope
Wed 22 Aug, 2007 18:50

Re: Help Installing FAP
-----------------------------------
[quote user="Artie" post="18835"]Did you run the file fap_install.php while logged in as admin ?[/quote]

Yes, I did, and get many OK messages, with few red ones, like this:

DROP TABLE `phpbb_album_sp_config`
+++ Error: Unknown table 'phpbb_album_sp_config'

If I try to upload a test image I get back this error message:

Warning: copy(album_mod/upload/76fae5d75e3aba62b7fd5ad94dbb93b8.jpg): failed to open stream: Permission denied in D:InetpubwebsvirtualtelescopebellatrixobservatoryorgphpBB2album_upload.php on line 871

Warning: getimagesize(album_mod/upload/76fae5d75e3aba62b7fd5ad94dbb93b8.jpg): failed to open stream: No such file or directory in D:InetpubwebsvirtualtelescopebellatrixobservatoryorgphpBB2album_upload.php on line 891

Thank you for your help,
VT


-----------------------------------
Artie
Wed 22 Aug, 2007 18:59

Re: Help Installing FAP
-----------------------------------
[quote user="VirtualTelescope" post="18836"]
DROP TABLE `phpbb_album_sp_config`
+++ Error: Unknown table 'phpbb_album_sp_config'
[/quote]
These can most likely be ignored... this one in particular is trying to delete a DB table that doesn't exist, which is what we want we were trying to accomplish.

[quote user="VirtualTelescope" post="18836"]If I try to upload a test image I get back this error message:
Warning: copy(album_mod/upload/76fae5d75e3aba62b7fd5ad94dbb93b8.jpg): failed to open stream: Permission denied in D:InetpubwebsvirtualtelescopebellatrixobservatoryorgphpBB2album_upload.php on line 871

Warning: getimagesize(album_mod/upload/76fae5d75e3aba62b7fd5ad94dbb93b8.jpg): failed to open stream: No such file or directory in D:InetpubwebsvirtualtelescopebellatrixobservatoryorgphpBB2album_upload.php on line 891
[/quote]
Appears that you failed to set the file/folder permissions (CHMOD) as stated in the install text.


-----------------------------------
VirtualTelescope
Wed 22 Aug, 2007 19:11

Re: Help Installing FAP
-----------------------------------
[quote user="Artie" post="18837"]
Appears that you failed to set the file/folder permissions (CHMOD) as stated in the install text.[/quote]

I used WS_FTP for this, but it says he can only updates that property for Unix host. To your knowledge, can I solve with another FTP client? any suggestion for it?

As of now, my files/directories are tagged this way:

-rw-rw-rw

Many thanks,
VT


-----------------------------------
Artie
Thu 23 Aug, 2007 01:17

Re: Help Installing FAP
-----------------------------------
Okay, I noticed now that you are on windows server.
I'm not familiar with setting permissions on a Windows server (actually, I thought it was not needed) .... you should talk with your host about this.


-----------------------------------
VirtualTelescope
Thu 23 Aug, 2007 12:17

Re: Help Installing FAP
-----------------------------------
[quote user="Artie" post="18843"]Okay, I noticed now that you are on windows server.
I'm not familiar with setting permissions on a Windows server (actually, I thought it was not needed) .... you should talk with your host about this.[/quote]

Dear Artie,

I will contact them and hear what they will say.

Thanks,
VT


-----------------------------------
VirtualTelescope
Thu 23 Aug, 2007 15:02

Re: Help Installing FAP
-----------------------------------
My IP suggested me to place all the stuff in the public directory, having special permissions. I did (simply copying all the stuff there).

Now, when I try to upload a picture, I do not have the previous error, just end with a blank page. Going back to the forum index, I see no pics in the gallery. You can try here:

http://virtualtelescope.bellatrixobservatory.org/public/phpBB2/

Thank you so much,
VT


