phpDivingLog

3rd party extensions (phpDivingLog, dive computer downloader,...)
Post Reply
WARLOCK
Posts: 25
Joined: Wed Nov 21, 2007 12:53

Post by WARLOCK »

Good work my man.........

Onto the RFC for a camera icon in antoher coloum if the dive has pictures, when or if you get around to developing this can you make it clickable which will open the dive and then the pictures.

thanks

Inferno
Posts: 252
Joined: Thu Apr 19, 2007 20:36
Location: The Netherlands
Contact:

Post by Inferno »

WARLOCK wrote:Good work my man.........
I will wait until friday for more comments on RC2. If no big things are reported I will release 2.0
Onto the RFC for a camera icon in antoher coloum if the dive has pictures, when or if you get around to developing this can you make it clickable which will open the dive and then the pictures.
Do you want just the images opened from the dives overview? Or just open the dive? If you just want to open the dive, this is sort of double.

WARLOCK
Posts: 25
Joined: Wed Nov 21, 2007 12:53

Post by WARLOCK »

Actually to just open the images would be good.

WARLOCK
Posts: 25
Joined: Wed Nov 21, 2007 12:53

Post by WARLOCK »

Question, how do I hide my certificate images ?

I have tried changing the section

$_config['user_show'] = true;
$_config['user_show_general'] = true;
$_config['user_show_comments'] = true;
$_config['user_show_photo'] = true;
$_config['user_show_certs'] = false;
$_config['user_show_medical'] = true;

I have uncommented it but the images still come up ?

Inferno
Posts: 252
Joined: Thu Apr 19, 2007 20:36
Location: The Netherlands
Contact:

Post by Inferno »

WARLOCK wrote:Question, how do I hide my certificate images ?

I have tried changing the section

$_config['user_show'] = true;
$_config['user_show_general'] = true;
$_config['user_show_comments'] = true;
$_config['user_show_photo'] = true;
$_config['user_show_certs'] = false;
$_config['user_show_medical'] = true;

I have uncommented it but the images still come up ?
Those options are not active yet

WARLOCK
Posts: 25
Joined: Wed Nov 21, 2007 12:53

Post by WARLOCK »

Nice one

andreapietro
Posts: 4
Joined: Sun Jun 26, 2011 18:26

Re: phpDivingLog

Post by andreapietro »

hi at all
i install the phpsivinglog on my server
i think to setting well all but when i open the browser www.divelogs.it (the web software where i install) it give me an error Change the right on D:\Inetpub\webs\divelogsit\\compile so the webuser can write
chmod -R 777 D:\Inetpub\webs\divelogsit\\compile
MySQL error 1146: Table 'Sql393425_5.Logbook' doesn't exist :
Query: SELECT Number, Divedate, Divetime, Depth, Place, City FROM Logbook ORDER BY Number DESC

Inferno
Posts: 252
Joined: Thu Apr 19, 2007 20:36
Location: The Netherlands
Contact:

Re: phpDivingLog

Post by Inferno »

andreapietro wrote:hi at all
i install the phpsivinglog on my server
i think to setting well all but when i open the browser http://www.divelogs.it (the web software where i install) it give me an error Change the right on D:\Inetpub\webs\divelogsit\\compile so the webuser can write
chmod -R 777 D:\Inetpub\webs\divelogsit\\compile
MySQL error 1146: Table 'Sql393425_5.Logbook' doesn't exist :
Query: SELECT Number, Divedate, Divetime, Depth, Place, City FROM Logbook ORDER BY Number DESC
Which version of windows your are running?
You should change the permissions on that windows folder.

andreapietro
Posts: 4
Joined: Sun Jun 26, 2011 18:26

Re: phpDivingLog

Post by andreapietro »

Inferno wrote:
andreapietro wrote:hi at all
i install the phpsivinglog on my server
i think to setting well all but when i open the browser http://www.divelogs.it (the web software where i install) it give me an error Change the right on D:\Inetpub\webs\divelogsit\\compile so the webuser can write
chmod -R 777 D:\Inetpub\webs\divelogsit\\compile
MySQL error 1146: Table 'Sql393425_5.Logbook' doesn't exist :
Query: SELECT Number, Divedate, Divetime, Depth, Place, City FROM Logbook ORDER BY Number DESC
Which version of windows your are running?
You should change the permissions on that windows folder.
now i see the version of window server ... the permission is 777 or i must change in other? for the mysql it give that error, my dbase sql is named Sql393425_5

andreapietro
Posts: 4
Joined: Sun Jun 26, 2011 18:26

Re: phpDivingLog

Post by andreapietro »

Inferno wrote:
andreapietro wrote:hi at all
i install the phpsivinglog on my server
i think to setting well all but when i open the browser http://www.divelogs.it (the web software where i install) it give me an error Change the right on D:\Inetpub\webs\divelogsit\\compile so the webuser can write
chmod -R 777 D:\Inetpub\webs\divelogsit\\compile
MySQL error 1146: Table 'Sql393425_5.Logbook' doesn't exist :
Query: SELECT Number, Divedate, Divetime, Depth, Place, City FROM Logbook ORDER BY Number DESC
Which version of windows your are running?
You should change the permissions on that windows folder.
on the server run windows 2008

Inferno
Posts: 252
Joined: Thu Apr 19, 2007 20:36
Location: The Netherlands
Contact:

Re: phpDivingLog

Post by Inferno »


andreapietro
Posts: 4
Joined: Sun Jun 26, 2011 18:26

Re: phpDivingLog

Post by andreapietro »

Inferno wrote:Howto change the permission:

http://www.cyberciti.biz/tips/windows-c ... -line.html
I can't change permission on server because the domani is on a server on Aruba.it

lloyd_borrett
Posts: 228
Joined: Sun Jun 11, 2006 09:24
Location: Frankston South, Victoria, Australia
Contact:

Re: phpDivingLog

Post by lloyd_borrett »

G'day,

You can follow what I'm doing for phpDivingLog 3.0 at viewtopic.php?f=10&t=1468.

Best Regards, Lloyd Borrett.

ebnerjoh
Posts: 27
Joined: Fri Jul 06, 2012 17:59

Re: phpDivingLog

Post by ebnerjoh »

Hello!

I installed phpdivinlog v3 on my gentoo with

apache 2.2.22-r1
php 5.3.13

I have several issues:

1) PHP Warnings:
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/localhost/htdocs/phpdivinglog/includes/pear/Pager_Wrapper.php on line 295

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/localhost/htdocs/phpdivinglog/includes/pear/Pager_Wrapper.php on line 317

Notice: Undefined variable: arr_number in /var/www/localhost/htdocs/phpdivinglog/classes.inc.php on line 1711

Notice: Undefined index: in /var/www/localhost/htdocs/phpdivinglog/classes.inc.php on line 1711
2) No Images are shown: I added the images into the subdirectoy "images/pictures" with the same filename as in the MySQL table (in the table there is also only the filename, no directory).

3) Profile is not shown.

The link to my installation is: http://tauchen.familie-ebner.at

Any ideas?

Br,
Johannes

Stew
Posts: 32
Joined: Fri Jun 22, 2012 15:50

Re: phpDivingLog

Post by Stew »

ebnerjoh,

I'll try to address your issues as best I can, I am by no means an expert but I have been playing around with this for the last couple of weeks and have gotten it working about 85%.

1)Those PHP warnings I received when I had switched my PHP version on my server from 5.2 to 5.3. I noticed you said you were running 5.3, if there is a way to revert to 5.2 or 5.1, maybe it would be better. Again, not 100% sure on this.

2)As far as images go, I would make sure when you are exporting the divelog from diving log 5.0 that you select to remove path from the tables. Then I had to go into settings.php in the divelog root folder, and I set all the images path to where the images were located.

3) Not sure on the profile part. Sorry.

If you want to see my installation as a reference, http://scuba-stew.com/divelog

Post Reply