Permissions Reversal - Problem

Hi there...

i habe the following problem:

Now, when Dolphin completed installation, you should change permissions for some files to keep your site secure. Please, change permissions as specified in the chart below. Helpful info about permissions is available here.

Directories

Current Level Desired Level
inc Writable Non-writable
Files Current Level Desired Level


If I set the permissions on Non-writable (644) I get the following error when I click Next:

Warning: require_once(../inc/classes/BxDolIO.php) [function.require-once]: failed to open stream: Permission denied in /home/pixcomm/public_html/paartner-net/install/index.php on line 458

Fatal error: require_once() [function.require]: Failed opening required '../inc/classes/BxDolIO.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/pixcomm/public_html/paartner-net/install/index.php on line 458

So what i have to do?
Please HEEEELP me!

Quote · 5 Jan 2010

Try clicking the skip button :)

There have been known issues with this permission reversal deal.

Chris

Nothing to see here
Quote · 5 Jan 2010

When i Skip it the following Error comes at the index.php : Cry

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server Port 80

Quote · 5 Jan 2010

what permission level do you have the /inc folder at right now?

Chris

Nothing to see here
Quote · 5 Jan 2010

What are your other directory folders set at? are they at 755, if so the inc folder needs to be at 755 for system access, that is not a file, its a directory. When you get to that point in the install you should be able to just skip. Apachie is not going to let you set a folder to 644. Did you set the permissions back to server default before clicking skip?

Quote · 5 Jan 2010

the inc folder have now the permission set on 755.

Then i "skip" and the Internal Server Error comes...

I cannot choose "modules" after "permissions reversal"

it skips automatically to index.php and theres the

Internal Server Error...

I don't know what to do now :-(

The Other Folders are on 777... I taste it on 755

and the same Problem (Internal Server Error) comes...

Please help - do not give up!

Quote · 5 Jan 2010

the /inc folder should be just fine at 755. Make sure it is set to that and start the install completely over. Make sure you change all permissions required at the first start of the install (if needed). Once you get to the permission reversal, just click skip.

Chris

Nothing to see here
Quote · 5 Jan 2010

I have set the "inc" folder to 755 and start the install.

when i arrived permission reversal i skipped it...

then the Internal Server Error comes again :(

Quote · 5 Jan 2010

Lets start from here:

 

Are you on cPanel? doing a new install? and have added no data to the database? Delete all of the files and folders to start with, use phpadmin go to your data base and do a drop all tables. This way you are starting with a new database.

 

Now back to the file manager, use the upload and browse to your desk top or wherw you have the zip file. Upload to you file manager. Click on the file, then click on extract file. When it say done click the link an d go up one folder to you public_html (root), this will refresh all the files and folders.

 

Now what are the permissions set at on the Directory folders? (777 or 755) if one or the other leave at that. Now go to your flash folder and open, If i remember right the FFmpeg file is in Globals/app/ set that to either 777 or 755, should be the same as your directory folders.

 

Now go to your website URL/install. run the install fill in all the necessary information. Should not be necessary to change any of the paths. go through that and when you get to where it ask to change the permissions on the inc folder, click skip. You need to delete or rename the install folder before going to your admin aree to install modules. go back to your cpanel/control panel and delet the install dir first.

Quote · 5 Jan 2010

my server hoster has found the error and now it works

Thanks anyway to all :-)

Quote · 5 Jan 2010

Want to share the resolution? May possibly help someone else later :)

Chris

Nothing to see here
Quote · 5 Jan 2010

I'm having tons of trouble with permissions unzipping the file into the public_html folder on a Linux server (HostForWeb) The folder and file permissions are not being transferred at the time the file is being unzipped.

 

When I start the install process I literally have to set the proper write permissions for each folder or file to get past that particular page of the install. Upon completion of that enormously tedious task, I then get the site open, go to the admin page and begin the install of the modules. Once again, about a third of them fail due to file permission errors and I have to manually go in and fix each one of those as well.

 

Completion of this task finally got me excited. I had green text everywhere telling me I was successful.

 

That is until I tried to upload a video......

 

So I said "I know, I'll delete everything and have HostForWeb extract the file locally" That started me down a whole new incredibly idiotic path. After explaining to them IN DETAIL what I needed I got the email telling me that Dolphin had been successfully installed for me.

 

They installed it at towjobs.com/dolphin, not in the root and they intalled D6!!!!

 

I don't know how much more of this I am going to be able to take.

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 5 Jan 2010

LOL. Looks like they used a D6 auto installer which sets up dolphin in a sub folder. That is how the auto installers work.

As for permissions. ZIP files do not contain permission information.

So, on some hosts when you extract the zip file, no permissions need to be set. And on others you have to set the permissions.

I believe that is due to suphp that some hosts use. suphp runs your php scripts as the user that owns the account and not as the webserver user, thus the permissions for group and other don't really matter as long as the owner has the needed permission.

I am not all that familier with suphp, so i cant be certain on this.

But for the hosts that are not running suphp the permissions are important.

As a rule. One that works most all of the time, is folders that need to be writable should be set to 777. For files that need to be writable. mode 666 and for excutable such as the ffmpeg. mode 777.

Command that can be used via ssh to set permissions can be found here. http://www.boonex.com/trac/dolphin/wiki/DetailedInstall70

https://www.deanbassett.com
Quote · 5 Jan 2010

One problem is If I set the permissions to the folders to 666 I cannot open them to view the contents. I could achive the same result for those folders if I set them to 766? And still maintain security?

 

I also think you are wrong. File permissions can be maintained in a zip archive.

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 5 Jan 2010

Here's an interesting find:

 

In the install script you pointed me too.

 

The install file is missing the chmods descriptions for some of the modules like Avatar, Desktop, Events, Files, Groups, Orca, Profiler, & Profile customizer. I had to do these manually.

 

I do not know the process for adding a ticket but I would think these permissions need to be added to the install instructions? It would make the instructions more complete?

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 5 Jan 2010

One problem is If I set the permissions to the folders to 666 I cannot open them to view the contents. I could achive the same result for those folders if I set them to 766? And still maintain security?

I also think you are wrong. File permissions can be maintained in a zip archive.

I had to look this up to be sure. Aparently there is an implimentation called Info-Zip that does allow this. But if the archive is packed on a windows box you won't have linux permissions.

I have not known a single zip archive created by boonex that had linux permissions stored in it. I have had to set permission by hand on all previous Dolphin versions i have run on any linux machine that was not running suphp.

https://www.deanbassett.com
Quote · 5 Jan 2010

Ok. that makes sense. I came from a Windows 2003 server. that's probably why I'm having so much difficulty setting up this Linux box.

 

I also figured out my issue with the folders.

 

Don't set the folders to 666, LOL. 755 works fine and if the folder needs to be writeable, they need to be set at 777. I'm learning new things every day!

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 5 Jan 2010

Here's an interesting find:

In the install script you pointed me too.

The install file is missing the chmods descriptions for some of the modules like Avatar, Desktop, Events, Files, Groups, Orca, Profiler, & Profile customizer. I had to do these manually.

I do not know the process for adding a ticket but I would think these permissions need to be added to the install instructions? It would make the instructions more complete?

Actually, those docs don't seem to cover any of the module installation. It stops after the dolphin setup and does not cover the install of the modules at all. At least not from what i could see.

https://www.deanbassett.com
Quote · 5 Jan 2010

Seems to me it would be a simple matter to add in the necessary text to the install file. At least for the default mods that come with D7

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 5 Jan 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.