PHPmotion v3 and v 3.5 Support > Server Issues (PHP, FFMPEG, CGI etc)

Upload Issue - /cgi-bin/uu_upload.pl was not found...

(1/3) > >>

Mushroomheadbangers:
Hello all,

I try to avoid posting requests for advice/assistance at all costs since information is so abundant on the internet but I've exhausted all documentation/posts that touch base on this issue. I've read through the WIKI and all other phpMotion documentation multiple times, searched the forums dozens of times, read through a large number of posts related to this, and checked write-ups made on other sites...no progress.

I'll try to provide as much information as possible for anyone willing to offer assistance.

Operating System: CentOS 5.5 i386
PHP: 5.2.10
MySQL: 14.12
Apache: 2.2.3
Site Address: N/A (Using private subnet. phpMotion is in the root web-directory though - /var/www/html)

Issue: When trying to upload a video, it will show the upload progress but then redirect to a 404 Not Found page with the following address in the URL field:
http://X.X.X.X/cgi-bin/uu_upload.pl?tmp_sid=a3d2bd5dfb78b5e0b158bf4cf5396f0e
The page displays a message stating:
The requested URL /cgi-bin/uu_upload.pl was not found on this server.

Steps taken:
- Verified CHMOD of all files provided by phpMotion (Including sub-directories and so forth).
- Ensured the files specified in the installation instructions were uploaded in ASCII mode rather than Binary.
- Adjusted values in php.ini to not restrict based on file size, script resource usage, and any other variables that could conflict.
- Restarted httpd
- Tried with multiple videos formats and sizes. I am able to upload images just fine...not videos though.
- Re-installed phpMotion (During installation, everything was showing as correct [Codecs, permissions, and so forth]).

I've been working on this for so many hours that I probably forgot a few of the steps I've taken. The only thing I can think of would be that perhaps since I'm not using a .com domain and am using an IP (IE: 8.8.8.8/cgi-bin rather than google.com/cgi-bin) that it may be conflicting. Aside from that, I am facing issues accessing a majority of the components on the home page. The links appear to go to directories that didn't even come with the phpMotion download. I recall coming across a PHP or Perl file that created some kind of symbolic link for those but I may be wrong.

Any suggestions or help would be greatly appreciated. I was really hoping to not have to look elsewhere for video hosting solutions but am running out of options.

Thank you for your time!

frankie:

if you get a 404 error then the cgi-bin path maybe wrong, what is the server alias path
set for the cgi-bin, or try the cgi-bin out of the webroot

Mushroomheadbangers:
Thank you for your response Frankie!

Where is the server alias path declared? I don't understand how the location could be incorrect as I'm running phpMotion from the web-root. The index.php that displays the home-page is located in the same directory as the cgi-bin folder:


[root@localhost cgi-bin]# pwd
/var/www/html/cgi-bin

/html contains the home-page and so forth.

frankie:
hi,
since you mentioned ip install i assumed you setup the webroot/site,
so take a look at httpd.conf and see what is listed for the cgi alias

is this site online or only local

Mushroomheadbangers:
The site is hosted on a private IP (10.100.100.X) and can be accessed by anyone on the same network. I'm just setting it up on a lab server for testing for now. Your response brought to my attention the issue!

Here are some settings I pulled from httpd.conf:
ScriptAlias /cgi-bin/ "/var/www/cgi-bin"
DocumentRoot "/var/www/html"
ServerRoot "/etc/httpd"

I extracted the content of phpMotion inside the /var/www/html directory which included the cgi-bin. The cgi-bin needed to be in www rather than html as per the alias mentioned in httpd.conf.

cp -R cgi-bin /var/www

Works now! However, the links still seem to be broken on the home-page. The links appear to navigate to a directory that's non-existent:
Videos -> videos/load/recent
Audios -> audios/load/recent
Images -> albums/load/recent
Blogs -> blogs/load/recent
Groups -> groups
People -> people
Upload -> upload-media

I checked the source-code of the index file and see the links reference search.php. Looked through search.php and see that it directs to themes/default/templates based on what form_search passes via the get form - At least that's what I gathered from it. I may be mistaken.

I've verified permissions of these files. Not sure what's preventing those from functioning correctly at this point :/ Any suggestions?

Thanks again for helping me get the upload part working!

Navigation

[0] Message Index

[#] Next page

Go to full version