PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   ReviewPost Installation & Upgrades (http://www.photopost.com/forum/reviewpost-installation-upgrades/)
-   -   Can't change/save Integration - permission denied (http://www.photopost.com/forum/reviewpost-installation-upgrades/144393-cant-change-save-integration-permission-denied.html)

dutchbb November 1st, 2010 12:23 PM

Can't change/save Integration - permission denied
 
When I try tro change/save the integration page I get this:

Quote:

Warning: fopen(config-intr.php) [function.fopen]: failed to open stream: Permission denied in /home/myname/domains/mydomain.com/public_html/reviews/adm-misc.php on line 1995

Warning: fwrite(): supplied argument is not a valid stream resource in /home/myname/domains/mydomain.com/public_html/reviews/adm-misc.php on line 1996

Warning: fclose(): supplied argument is not a valid stream resource in /home/myname/domains/mydomain.com/public_html/reviews/adm-misc.php on line 1997
All files are set to chmod 755 so that's not it.

Chuck S November 1st, 2010 02:16 PM

they would need to be 666 or 777 not 755.

dutchbb November 1st, 2010 02:19 PM

777 is not secure enough for us though, our files got hacked just today (RP was not up to date) with 777.

755 seems to be the default on most scripts to keep it safe?

Anyway, I tried both 777 and 666 but got the same error.

Chuck S November 1st, 2010 02:46 PM

well directories are 755 except uploads and data are 777. PHP files in general are 644 and if a file needs to have write access it is 666. Thus those two config files your tmpl and css files should be 666.

Your host could have it set that you can not write the files via script. Here is the permissions on a normal install

PhotoPost PHP Photo Sharing Photo Gallery Installation Guide

Geiri November 1st, 2010 04:23 PM

I don't know if it has any thing to do with this but It looks like the right thread to bring this up.

If I go to admin>Edit Integration
I can't save the changes I make they allways look the same.

I manualy edit the config-intr so I cnow that it is right, but when I open it in admin it always looks the same?

Chuck S November 1st, 2010 04:43 PM

same thing as stated if permissions on the files are set right and you can not save them via a script your hosting setup is preventing this.

dutchbb November 1st, 2010 04:54 PM

Ok that could be it. No problem then I just edit it through the file/ftp. Thanks :)

Chuck S November 1st, 2010 06:43 PM

Yep I can only state what permissions are if the file can't be saved then the hosting setup most likely prevents it. ;)

Geiri November 1st, 2010 06:51 PM

I need explain this

The config saves fine the permissions are right but the resaults are not what I save.

If I download it from the server this is what is says.
This is the config view not the admin view and what I save in admin.
Code:

Content visible to verified customers only.
After I save this is the resaults in admin

Code:

Content visible to verified customers only.
Is this maby how things should look?

My Integration does not look the same in Photopost to Reviewpost

Chuck S November 1st, 2010 07:33 PM

well three things I see

1. Your config-intr.php file the $url_path variable should be $rpurl_path

2. Your server paths should be forward slashes

3. Your forum url is incorrect you do not add script names on the forum url.

Geiri November 1st, 2010 08:33 PM

Quote:

Originally Posted by Geiri (Post 1278876)
After I save this is the resaults in admin

Code:

Content visible to verified customers only.

Why dose the Admin> Edit Integration give me wrong info?
If I change everthing and save I get no error but nothing changes and the admin info still says diffrently from config?

:confused:

Chuck S November 1st, 2010 10:33 PM

if nothing changes your host does not allow you to save a file that way like this discussion here says you need to edit the file manually.


All times are GMT -5. The time now is 07:44 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97