installation permission reversal

Hi guys I made it sucessfully up to step 7 of installation - permissions reversal. Now Im stuck here. There is message that "inc" directory is writeable but should be non writable. The problem is that whan I check permissions in ftp to folder "inc" its set to 755 so it should be fine so I dont know what to do now ? If I try click "next" or "skip" than I got Internal server error 500.... Im on hostgator shared hosting...

tahnks in advance for help..

Dave

 

Quote · 2 Feb 2010

As for the permissions issue, try FTP chmod the /inc directory to 555.  If that doesn't help, then go into your cpanel to file manager and change the permission of the folder to 555 there as well.  If that still doesn't fix it, then Dolphin is just not seeing the permission.  You will be ok to skip that step and delete the install folder as long as YOU know the /inc directory is not accessible.

However, that may not fix your server error 500.  That is generally related to .htaccess  For that, send a help ticket to hostgator.  If they can't figure it out, come back to the forums.

:-)
Quote · 2 Feb 2010

Hi JCT

 

many thanks  - I had to really use hostgator cpanel filemanager to change permisions to be seen by dolphin installator - now I dont have any problem reported regarding permissions in step 7 of installation, but anyway when I press "next" I end up with internal server error :-(, if I press "skip" I end up also on internal server error. Does somebody have similar experience ? Any hints what should I try ? I looked to boonex support and tried open ticket but it says I dont have privilegies to open ticket ... Maybe should I delete install directory before press next ?

 

Quote · 2 Feb 2010

It will be ok to go ahead and delete the install directory at the point you are at.  After doing that, try accessing your site.  I am sure you will still get the 500 error.

Try one thing....delete the .htaccess file in your main dolphin directory and replace it with a default .htaccess from the Dolphin 7 zip file.  If that doesn't help, send in a help ticket to hostgator and let them figure it out.  They get paid to fix your problems and this one should be fairly simple to fix for them as cpanel should be reporting the cause of the error to their server somewhere

Thanks!

:-)
Quote · 2 Feb 2010

I was chatting with hostgator support staff - they were unable to help me. Strange thing is that on my side it show http 500 internal server error on their side it generates blank page without error akso they sey error log doesnt show any errors for my account.

I deleted all files, database and cron job and tried install again from scratch - unfortunately absolutely same results as before - when I get sucessfully to step 7 of installation - reverse permissions, whatever I press - next or skip I got internal server error. Im lost :-( dunno what to do now. Maybe isnt problem that I have enabled php.ini on my hostgator account ? so I have php.ini and also .htaccess active ?

Dave

Quote · 2 Feb 2010

nobody  ?

Quote · 2 Feb 2010

Boonex just did a blog post on this subject, you have what they call a stand alone php system, not configured through CGI.  Seen this happen from time to time and it can be a real bitch.  The only way to get past it is to turn the write off at all levels if your tryin' to do it via CHMOD in an FTP and often even the cPanel trick won't work.

 

So, here is the fix:

 

http://www.boonex.com/unity/blog/entry/Meet_PHP_standalone_just_what_your_crons_need

 

And tell Hostgator to get off their asses (not you OP, your Host) and fix their servers and learn what the hell they are doing. 

Quote · 2 Feb 2010

I had the same problem when I installed d7 my webhost told me it was to do with the fact I hadn't uploaded the htaccess file that came with dolphin, to the root directory , they did it for me and it fixed the problem

Quote · 2 Feb 2010

Hi guys,

 

thanks for replies. I contacted hostgator head linux admins to solve this issue but seems problem is something different. Here is what I got from them:

I am showing this error is coming from one of the plugins named phpids.  The error is in the Storage.php file when it tries to declare the IDS_Filter_Storage class as follows.

 

[04-Feb-2010 21:24:43] PHP Fatal error:  Cannot redeclare class IDS_Filter_Storage in /home/xxx/public_html/mysite.cz/plugins/phpids/IDS/Filter/Storage.php on line 52

 

"xxx and mysite.cz is replacement text for hide my real data !!"

You may want to contact the creators of this script for more information about this error.

 

 

 

Any idea what to do ?

 

Dave

Quote · 5 Feb 2010

Just hit skip because you have cgi or suphp for inc permission on the reversal. It is more for apache module dso. Permission level standard 755 for the folder will do with suphp. So skipping is fine with suphp.

Regarding 500 internal error. Again you have cgi or suphp and you can't have php_flag's in .htaccess or rewritebase is not declared so simply comment them out like: (also be sure you don't have any custom codes that will 500 error it).

Consider your host one of the better ones that is more concerned about security if they have cgi/suphp setup. Apache module dso is what boonex quotes in the install for file permissions, but it will jump up and bite you big time in terms of security. Maybe not now or right away but one day something will happen and you or your host will say shit I wish we would have went that route after all. One of the drawbacks about many hosts last time I checked hostforweb's shared hosting too it's not cgi/suphp, so you get a lot more security issues that can bring your site down. Get your site hacked much more easily or the entire server for that matter. Nothing is perfect, but cgi/suphp will help a lot.


Options -MultiViews

<IfModule mod_php4.c>
#php_flag register_globals Off
</IfModule>
<IfModule mod_php5.c>
#php_flag allow_url_include Off
#php_flag register_globals Off
</IfModule>

And be sure to try rewritebase like so:

Options -MultiViews

<IfModule mod_php4.c>
#php_flag register_globals Off
</IfModule>
<IfModule mod_php5.c>
#php_flag allow_url_include Off
#php_flag register_globals Off
</IfModule>

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteRule ^blogs/{0,1}$   modules/boonex/blogs/blogs.php [QSA,L]


If your dolphin is in a subdirectory / subfolder then rewirte base the name like:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /yourdolphindirectory/
RewriteRule ^blogs/{0,1}$   modules/boonex/blogs/blogs.php [QSA,L]

Don't forget the backslash /

Laters!

DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources
Quote · 5 Feb 2010

hi gameutopia ...many thanks for reply and help. UnfortunatelyI dont know exactly what you mean can u please apply changes u mean on my following htacces ? many thanks in advance ...ps. dolphin is in root

 

 

Options -MultiViews

 

<IfModule mod_php4.c>

    #php_flag register_globals Off

</IfModule>

<IfModule mod_php5.c>

    php_flag allow_url_include Off

    php_flag register_globals Off

</IfModule>

 

<IfModule mod_rewrite.c>

RewriteEngine on

 

RewriteRule ^blogs/{0,1}$   modules/boonex/blogs/blogs.php [QSA,L]

RewriteRule ^blogs/all/([0-9]+)/([0-9]+)/{0,1}$  modules/boonex/blogs/blogs.php?page=$2&per_page=$1  [QSA,L]

RewriteRule ^blogs/top/{0,1}$   modules/boonex/blogs/blogs.php?action=top_blogs [QSA,L]

RewriteRule ^blogs/top/([0-9]+)/([0-9]+)/{0,1}$   modules/boonex/blogs/blogs.php?action=top_blogs&page=$2&per_page=$1 [QSA,L]

RewriteRule ^blogs/top_posts/{0,1}$   modules/boonex/blogs/blogs.php?action=top_posts [QSA,L]

RewriteRule ^blogs/top_posts/([0-9]+)/([0-9]+)/{0,1}$   modules/boonex/blogs/blogs.php?action=top_posts&page=$2&per_page=$1 [QSA,L]

RewriteRule ^blogs/tag/([^/.]+)/{0,1}$   modules/boonex/blogs/blogs.php?action=search_by_tag&tagKey=$1 [QSA,L]

RewriteRule ^blogs/tag/{0,1}$   modules/boonex/blogs/blogs.php?action=search_by_tag&tagKey= [QSA,L]

RewriteRule ^blogs/posts/([^/.]+)/tag/([^/.]+)/{0,1}$   modules/boonex/blogs/blogs.php?action=search_by_tag&tagKey=$2&ownerName=$1 [QSA,L]

RewriteRule ^blogs/posts/([^/.]+)/category/([^/.]+)/{0,1}$   modules/boonex/blogs/blogs.php?action=show_member_blog&ownerName=$1&categoryUri=$2 [QSA,L]

RewriteRule ^blogs/entry/([^/.]+)/{0,1}$   modules/boonex/blogs/blogs.php?action=show_member_post&postUri=$1 [QSA,L]

RewriteRule ^blogs/entry/{0,1}$    modules/boonex/blogs/blogs.php?action=show_member_post&postUri= [QSA,L]

RewriteRule ^blogs/posts/([^/.]+)/{0,1}$   modules/boonex/blogs/blogs.php?action=show_member_blog&ownerName=$1 [QSA,L]

RewriteRule ^blogs/posts/{0,1}$   modules/boonex/blogs/blogs.php?action=show_member_blog&ownerName= [QSA,L]

RewriteRule ^blogs/posts/([^/.]+)/([0-9]+)/([0-9]+)/{0,1}$   modules/boonex/blogs/blogs.php?action=show_member_blog&ownerName=$1&page=$3&per_page=$2 [QSA,L]

RewriteRule ^blogs/posts/([^/.]+)/category/([^/.]+)/([0-9]+)/([0-9]+)/{0,1}$   modules/boonex/blogs/blogs.php?action=show_member_blog&ownerName=$1&categoryUri=$2&page=$4&per_page=$3 [QSA,L]

RewriteRule ^blogs/home/{0,1}$   modules/boonex/blogs/blogs.php?action=home [QSA,L]

RewriteRule ^blogs/all_posts/{0,1}$   modules/boonex/blogs/blogs.php?action=all_posts [QSA,L]

RewriteRule ^blogs/popular_posts/{0,1}$   modules/boonex/blogs/blogs.php?action=popular_posts [QSA,L]

RewriteRule ^blogs/featured_posts/{0,1}$   modules/boonex/blogs/blogs.php?action=featured_posts [QSA,L]

RewriteRule ^blogs/tags/{0,1}$   modules/boonex/blogs/blogs.php?action=tags [QSA,L]

RewriteRule ^blogs/show_calendar/{0,1}$   modules/boonex/blogs/blogs.php?action=show_calendar [QSA,L]

RewriteRule ^blogs/my_page/{0,1}$   modules/boonex/blogs/blogs.php?action=my_page&mode=main [QSA,L]

RewriteRule ^blogs/my_page/add/{0,1}$   modules/boonex/blogs/blogs.php?action=my_page&mode=add [QSA,L]

RewriteRule ^blogs/my_page/manage/{0,1}$   modules/boonex/blogs/blogs.php?action=my_page&mode=manage [QSA,L]

RewriteRule ^blogs/my_page/pending/{0,1}$   modules/boonex/blogs/blogs.php?action=my_page&mode=pending [QSA,L]

RewriteRule ^blogs/my_page/edit/([0-9]+)/{0,1}$  modules/boonex/blogs/blogs.php?action=edit_post&EditPostID=$1 [QSA,L]

RewriteRule ^blogs/member_posts/([0-9]+)/{0,1}$   modules/boonex/blogs/blogs.php?action=show_member_blog&ownerID=$1 [QSA,L]

RewriteRule ^blogs/category/([^/.]+)/{0,1}$   modules/boonex/blogs/blogs.php?action=category&uri=$1 [QSA,L]

 

RewriteRule ^ads/{0,1}$  modules/boonex/ads/classifieds.php?Browse=1 [QSA,L]

RewriteRule ^ads/my_page/{0,1}$  modules/boonex/ads/classifieds.php?action=my_page [QSA,L]

RewriteRule ^ads/my_page/add/{0,1}$  modules/boonex/ads/classifieds.php?action=my_page&mode=add [QSA,L]

RewriteRule ^ads/my_page/edit/([0-9]+)/{0,1}$  modules/boonex/ads/classifieds.php?action=my_page&mode=add&EditPostID=$1 [QSA,L]

RewriteRule ^ads/my_page/edit/([0-9]+)/dimg/([0-9]+)/{0,1}$  modules/boonex/ads/classifieds.php?action=my_page&mode=add&EditPostID=$1&dimg=$2 [QSA,L]

RewriteRule ^ads/my_page/manage/{0,1}$  modules/boonex/ads/classifieds.php?action=my_page&mode=manage [QSA,L]

RewriteRule ^ads/my_page/pending/{0,1}$  modules/boonex/ads/classifieds.php?action=my_page&mode=pending [QSA,L]

RewriteRule ^ads/my_page/disapproved/{0,1}$  modules/boonex/ads/classifieds.php?action=my_page&mode=disapproved [QSA,L]

RewriteRule ^ads/cat/([^/.]+)/{0,1}$  modules/boonex/ads/classifieds.php?catUri=$1 [QSA,L]

RewriteRule ^ads/all/cat/([0-9]+)/([0-9]+)/([^/.]+)/{0,1}$  modules/boonex/ads/classifieds.php?catUri=$3&page=$2&per_page=$1 [QSA,L]

RewriteRule ^ads/subcat/([^/.]+)/{0,1}$  modules/boonex/ads/classifieds.php?scatUri=$1 [QSA,L]

RewriteRule ^ads/all/subcat/([0-9]+)/([0-9]+)/([^/.]+)/{0,1}$  modules/boonex/ads/classifieds.php?scatUri=$3&page=$2&per_page=$1 [QSA,L]

RewriteRule ^ads/entry/([^/.]+)/{0,1}$  modules/boonex/ads/classifieds.php?entryUri=$1 [QSA,L]

RewriteRule ^ads/tag/([^/.]+)/{0,1}$  modules/boonex/ads/classifieds_tags.php?tag=$1 [QSA,L]

RewriteRule ^ads/calendar/{0,1}$  modules/boonex/ads/classifieds.php?action=show_calendar [QSA,L]

RewriteRule ^ads/categories/{0,1}$  modules/boonex/ads/classifieds.php?action=show_categories [QSA,L]

RewriteRule ^ads/tags/{0,1}$  modules/boonex/ads/classifieds.php?action=tags [QSA,L]

RewriteRule ^ads/all_ads/{0,1}$  modules/boonex/ads/classifieds.php?action=show_all_ads [QSA,L]

RewriteRule ^ads/top_ads/{0,1}$  modules/boonex/ads/classifieds.php?action=show_top_rated [QSA,L]

RewriteRule ^ads/popular_ads/{0,1}$  modules/boonex/ads/classifieds.php?action=show_popular [QSA,L]

RewriteRule ^ads/featured_ads/{0,1}$  modules/boonex/ads/classifieds.php?action=show_featured [QSA,L]

 

RewriteRule ^search/tag/([^/.]+)/{0,1}$  search.php?Tags=$1 [QSA,L]

 

RewriteRule ^browse/([^/.]+)/([^/.]+)/([^/.]+)$ browse.php?sex=$1&age=$2&country=$3 [QSA,L]

 

RewriteRule ^m/(.*)$  modules/index.php?r=$1 [QSA,L]

 

RewriteRule ^forum/groups/(.*)$  modules/boonex/forum/$1?orca_integration=groups [QSA,L]

RewriteRule ^forum/events/(.*)$  modules/boonex/forum/$1?orca_integration=events [QSA,L]

RewriteRule ^forum/store/(.*)$  modules/boonex/forum/$1?orca_integration=store [QSA,L]

RewriteRule ^forum/(.*)$  modules/boonex/forum/$1 [QSA,L]

 

RewriteRule ^page/(.*)$  viewPage.php?ID=$1 [QSA,L]

 

RewriteCond %{REQUEST_FILENAME} -f [OR]

RewriteCond %{REQUEST_FILENAME} -d

RewriteRule .+ - [L]

RewriteRule ^([^/]+)$ profile.php?ID=$1 [QSA,L]

 

</IfModule>

 

AddType application/vnd.adobe.air-application-installer-package+zip .air

AddType application/x-shockwave-flash .swf

 

Quote · 5 Feb 2010

Mostly if your dolphin is in main root dirctory you can add

rewritebase /

If it's in a subfolder/sudirectory add

rewritebase /yourdolphindirectory/ (yoursite.com/yourdolphindirectory)

After Rewrite engine like:

RewriteEngine on

RewriteBase /

or

RewriteEngine on

RewriteBase /yourdolphindirectory/

Also a good idea just in case to clear /cache and cache_public which will do away with any temp files. Shouldn't affect .htaccess but this dolphin 7 is a real pain when it comes to caching never hurts. Just clear them all except for any .htaccess.

DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources
Quote · 5 Feb 2010

ok I just added "RewriteBase /" right after "RewriteEngine on" so my current htaccess looks exactly as I posted htaccess above just with addition rewritebase / . Is that all or I should change something else. I tested in now and ots still same http 500 error :-(

Quote · 5 Feb 2010

You also commented out the php_flags like so:

from:

php_flag register_globals Off

To:

#php_flag register_globals Off

suphp/cgi does not like php_flags in .htaccess you need to use php.ini instead. Since dolphin includes them, you simply comment them out with the pound sign (#)

Make sure you get them all no php_flags are generally allowed in .htaccess with suphp/cgi.

Other than that make sure you do not have any other php_flags or php_value in .htaccess. Anything with a php_ is not allowed by this method and will error out 500. Just put a # sign in front of anything in .htaccess that starts with php_

DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources
Quote · 5 Feb 2010

I put # sign to all php commands I found in htaccess but still got error 500. I have dolphin on hostgator addon domain, doesnt have to be modified dolphin htaccess in absolute root (public_html) on main domain - I dont know if u know how hostgator works - u have main domain in public_html root - this is root for main domain ..than u have addon domains which are put in public_html as folders - example: public_html/site1.com/, public_html/site2.com/, public_htm/site3.com/ ....

Maybe I have to put modified htaccess not to addon domain root but to public_html root ? Its just idea--- I dont know what to do now :-(

 

Dave 

Quote · 5 Feb 2010

Hi I tried put dolphin htaccess to main domain root  but still same. Also currently I  put php.ini file in dolphin root - doesnt I have to put php.ini also to all dolphin directories ?

Quote · 6 Feb 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.