I have just done a clean install of PhpGedview 4.2 basic and am adding modules. The Googlemap modu;le has changed significantly, so I uploaded the current one.
When I copy my API code and try to save the config, I see:
GoogleMap Configuration
ERROR 2: fopen(modules/googlemap/config.php) [function.fopen]: failed to open stream: Permission denied
0 Error occurred on in function fopen
1 called from line 144 of file editconfig.php in function include_once
2 called from line 72 of file module.php
Warning: fopen(modules/googlemap/config.php) [function.fopen]: failed to open stream: Permission denied in /home/doug/public_html/phpgedview/modules/googlemap/editconfig.php on line 144
Error!!! Cannot write to the PhpGedView configuration file. Please check file and directory permissions and try again.
The module no longer has a config.php, and I had made my global config.php world-writable. Installing the old Googlemap config.php makes the tab disappear.
What am I missing?
Doug.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Did you check the permissions and owner of the googlemap directory and the copied config.php file in the googlemap directory? What version was the old Googlemap configuration from? Can you enable the Googlemap module from the admin menu?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the advice. I changed the permissions on Googlemap then uploaded Gallery2 before checking. Now I can't log in at all. At first, a link to my site added the subdirectory install/ and that doesn't exist - it is install.php Then I did a global change of permissions and I get a more fundamental error message. The reference to install/ sounds like something from Gallery that is being added when it shouldn't.
I am going to delete Gallery2 and get that much working, but I thought that I should report back.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I deleted Gallery2, chmodded everything else to 777, and got Googlemap working. Of course, everything is very insecure at the moment, so that is the next step. The server won't let me take away the owner's write permissions, so the best I can do with config.php is 644, but it will have to do.
Doug.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, that is also how my configuration is. I just changed my permissions to 444 for all .php files in the googlemap module and it is running OK. Make sure the owner and group are the owner and group of the webserver (probably apache).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can we update the "googlemap_readme.txt" file … as I've spent this evening trying to get GoogleMaps going, and it doesn't mention about enabling it from the "admin menu".
I have just done a clean install of PhpGedview 4.2 basic and am adding modules. The Googlemap modu;le has changed significantly, so I uploaded the current one.
When I copy my API code and try to save the config, I see:
GoogleMap Configuration
ERROR 2: fopen(modules/googlemap/config.php) [function.fopen]: failed to open stream: Permission denied
0 Error occurred on in function fopen
1 called from line 144 of file editconfig.php in function include_once
2 called from line 72 of file module.php
Warning: fopen(modules/googlemap/config.php) [function.fopen]: failed to open stream: Permission denied in /home/doug/public_html/phpgedview/modules/googlemap/editconfig.php on line 144
Error!!! Cannot write to the PhpGedView configuration file. Please check file and directory permissions and try again.
The module no longer has a config.php, and I had made my global config.php world-writable. Installing the old Googlemap config.php makes the tab disappear.
What am I missing?
Doug.
Did you check the permissions and owner of the googlemap directory and the copied config.php file in the googlemap directory? What version was the old Googlemap configuration from? Can you enable the Googlemap module from the admin menu?
Thanks for the advice. I changed the permissions on Googlemap then uploaded Gallery2 before checking. Now I can't log in at all. At first, a link to my site added the subdirectory install/ and that doesn't exist - it is install.php Then I did a global change of permissions and I get a more fundamental error message. The reference to install/ sounds like something from Gallery that is being added when it shouldn't.
I am going to delete Gallery2 and get that much working, but I thought that I should report back.
I deleted Gallery2, chmodded everything else to 777, and got Googlemap working. Of course, everything is very insecure at the moment, so that is the next step. The server won't let me take away the owner's write permissions, so the best I can do with config.php is 644, but it will have to do.
Doug.
Yes, that is also how my configuration is. I just changed my permissions to 444 for all .php files in the googlemap module and it is running OK. Make sure the owner and group are the owner and group of the webserver (probably apache).
Can we update the "googlemap_readme.txt" file … as I've spent this evening trying to get GoogleMaps going, and it doesn't mention about enabling it from the "admin menu".
Mark