How I got it all working ...

I am in no way a php programmer and this is my first ever successful Dolphin install. AS SUCH, all of this is just a guideline for you on how I made it work. I do tend to tell stories in a linear fashion that some will mistake as experience. I HAVE NONE. I just wanted to make that clear again. Anyone that finds anything wrong with this post, PLEASE feel free to speak up. You won't hurt my feelings as I don't really have any. (lol)

To start with, I have to say that I spent an enormous amount of time poking around in stuff I just didn't have enough understanding about. I thought with enough dilligence, I could solve all the problems and I went after it like I always do.

Forget that! I got tired of that and finally found a host that took the patience required to help me work through each problem as it arose. I now have a fully functioning D7 site that has all the default mods enabled and working. I can even upload a video that is 150 megs in size (or even larger if I so desire to adjust it)

 

Thanks Luc at HostForWeb. You and your team did a terrific job getting me up and running and wasting hours of your time on my incessant questioning.

 

First & foremost, PERMISSIONS ARE EVERYTHING. This problem starts right from the moment you decide to install D7 and the chosen method. The first step is to either ftp or upload the zip directly onto your server. The next step is to unzip it and adjust the permissions of the folders/files. Doing it any other way will only create extra grief for you.

 

RECOMMENDATION!

 

Set the permissions before you run the install script! There are two ways to do this. The HARD way and the EASY way! If you are a beginner, I recommend the HARD way!

  1. Use the file manager in cpanel to go in and set each individual file and folder permissions setting.
  2. Use SSH to run a script to set those permissions. (way easy once you learn how)

Why do I recommend the hard way? Well, let me tell you. You are building a very complicated and advanced website. This website will have tons of features that you need to learn and understand to be successful at managing it. By doing some of the initial install sequences manually, you will familiarize yourself with how the entire package was assembled. This makes it easier to make changes or adjustments in the future.

 

There is a D7 install script here: http://www.boonex.com/trac/dolphin/wiki/DetailedInstall70 In it you will find MOST of what you need. When you get to the permissions section, I have a few more for you to add in. These are for the extra mods that are in the new D7 but are not in those chmod scripts.

 

The following files and folders need to be made writeable. These are all under /modules/boonex & aren't included in the installation file. You can get the site up but as soon as you try and install the mods from the admin panel, you'll be doing these individually anyways. Might as well get them out of the way.

 

./avatar/data/images

./data/tmp

./desktop/file

./files/data/files

./forum/classes

./forum/conf

./forum/layout

./forum/log

./forum/js

./forum/cachejs

./photos/data/files

./profile_customize/data/images

./profiler/log/profiler.log

 

Now for some other things I found out about. The video stuff has been killing us here. Before we go any further, I wanted you to know that I have a VPS with HostForWeb and also my own installation of RMS on my server. I did not install it myself, Luc installed it and configured it so it works well for me.

 

Once we had it all up and running, I started getting an 'Upload Error 403' We solved this by changing the media folder and all the folders beneath it to 777 permissions.

 

After that, we found the crontab throwing an error. The permissions for the crontab were set wrong. (0755). They need to be (4755). If you are versed with SSH, you can do this or you can just ask your "buddy" to do it for you. Problem solved. we were now able to upload the videos.

 

Well, sort of. We were able to upload using the regular uploader but the flash uploader was throwing the same error as before 'upload error 403'. This one was a little weird and way above my head. Of course, Luc zero'd right in on it as a problem with the mod_security setting in Apache. I asked him to explain it to me and this was his response:

 

As for mod_security, I simply added a white list :

SecRuleRemoveById sec_ID_here


within /usr/local/apache/conf/userdata/std/2/*/domain.com/mod_sec.conf

and restarted apache.

Actually, I've modified the permissions on the flash/ cache/ folders to 771
Changed the owner for both folders (subfolders included) to skyforum:nobody
Modified RMS (/opt/RMS_7.0/webapps/*/WEB-INF/red5-web.properties) so that it points to your main server IP address.

Voilà ! :)

 

Yeah, that totally explained it to me too! LOL! But it worked, no more problems with the flash thingy and uploads for everything are now working perfectly.

 

So off I go thinking I have everything working okee dokee. Time to test. I have this 120 MB MP4 file i have been trying to upload forever (ask DosDawg) and have not been successful at all at getting it done. Kept running into a fatal error somewhere around 100 megs. Well it happened again...  So off I went to find out why. I didn't have any help on this one so I want to take credit for the find.

 

All my settings were perfect, 150 upload_max, 150 post size, etc etc etc. What I found was happening was I was running out of memory on the upload. My current memory was set to 256 megs. I was exhausting it before the video completed the upload process. I set the memory limit to unlimited (-1) and the problem was solved.

 

HooHah!

 

There were a few more things that came up but they were inconsequential. I am so excited and impressed with this piece of software now that I have seen it can work. I did add one mod. I was very dissatisfied with the video outcome, both on keep original quality and not. One couldn't stream and the other was horrible to look at. I did a little testing with a small mod that Sideburnz made and for a couple of words that start with the letter q, it's genius. I can now fine tune the video output that puts my stuff a step above youtube. Just thought I'd throw that in there...

 

I hope this helps some of you, remember. PERMISSIONS ARE EVERYTHING.

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

glad to see you got your installation working good deal.

now for all those who read this and think this is the answer, well ah, let me explain something to you about what skyforum has just experienced. about 1 thimbleful of what the overall grand scheme is.

why do i say that, well a server build is like riding a bull, you never really know which way he's gonna turn till you come out of the chute.

with that said, if you host with HFW, and you ask for skyforums config file, then you will most likely on a vps have like results, not the same results, but like results.

i too run file permissions against a dolphin file structure, because just as skyforum has stated, there are file perms that need to be changed, and you wont know it until you try to install one of the modules. nice trick on that one hello.

'

one thing i didnt understand is if there are dependant mods, why in the "H" if you select all at the bottom are the dependant mods sought out and installed instead of reporting "FAILED"

oops off topic, ramblings.

sky, i want you to keep that title, and report back every other day, and let us know "how I got it all working....".

good deal, glad to see you have some enthusiasm about the application again.

Regards,
DosDawg

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 7 Jan 2010

With all due respect, this post isn't very useful as you didn't bother to explain to us noobs exactly how you're supposed to edit mod_sec.conf. Obviously, 'sec_id_here' isn't what you're supposed to enter, so what are you supposed to enter? How do you figure that out? And why do you have to bother with that since the .htaccess file under /flash/ has these lines:

<IfModule mod_security.c>

SecFilterEngine off

</IfModule>

And finally, there is no flash/cache folder. What are you talking about when you refer to modifying "the permissions on the flash/ cache/ folders to 771"?

Quote · 16 Jan 2010

Is anyone getting an 'upload error 413' when using the flash uploader?

Anyone know how i can make the 'Regular' uploader the default?

Thanks.

Light man a fire keep him warm for a night, light him ON fire & he will be warm the rest of his life
Quote · 16 Jan 2010

I hope someone can answer my questions. I'm really desperate to get the flash uploader working.

Quote · 17 Jan 2010

1st off, who are you hosting with?

your best of extracting the zip on your computer and seeking out the "install.txt" doc...real simpleCool

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 17 Jan 2010

The hosting company is The Planet. install.txt says nothing about the Flash uploader or mod_security. Do I need to have Ray Media Server installed and working for the Flash uploader to work? (I wouldn't think so.)

Quote · 17 Jan 2010

I just chatted with your service tech at ThePlanet, your on a dedicated server.

YOU will have in install everything, down to RMS7 if you want all the features... they say they offer no support in that area. You have to do it all...

 

Good Luck on that...

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 17 Jan 2010

The hosting company is The Planet. install.txt says nothing about the Flash uploader or mod_security. Do I need to have Ray Media Server installed and working for the Flash uploader to work? (I wouldn't think so.)

no

upload should work without rms

rms --> video chat, video comments, boards, desktop

Quote · 17 Jan 2010

what about ffmpeg.exe in your flash/modules/global/app/ directory have you set the permissions to 777

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 17 Jan 2010

Yes, ffmpeg permissions are at 777.

Quote · 18 Jan 2010

From the OP:

As for mod_security, I simply added a white list :

SecRuleRemoveById sec_ID_here


within /usr/local/apache/conf/userdata/std/2/*/domain.com/mod_sec.conf

Can someone please tell me what I'm supposed to put in place of "sec_ID_here"??

Quote · 19 Jan 2010

 

From the OP:

 

As for mod_security, I simply added a white list :

SecRuleRemoveById sec_ID_here


within /usr/local/apache/conf/userdata/std/2/*/domain.com/mod_sec.conf

 

Can someone please tell me what I'm supposed to put in place of "sec_ID_here"??

 Like I stated before, I'm a moron & have no idea how to answer that question. My post was just for reference tyo give you somewhere else to look. I bet if you called your tech support and were real nice, they'd help you figure it out.

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

Just a quick note: If you are on a shared server with mod_security installed, you may be SOL.  Mod_security likes to block the flash user agent that the uploader uses.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 29 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.