WordPress.org

Ready to get started?Download WordPress

Forums

I need to figure out what is causing my site's problem (31 posts)

  1. TonyVitabile
    Member
    Posted 3 years ago #

    Users to my site still can't view most of the videos on my site, and none of the images in the NexGen gallery. The perplexing thing is that three videos are viewable. I have to check on the status of the post I made for the NexGen gallery problem, but my gut tells me that the problems are related and may date back to when I upgraded to WP 3.0.1.

    I've verified that the problem isn't a hack or virus. I've reinstalled WP 3.0.1 and changed all the passwords.

    Now, given that three of the videos work fine, I figured I would download one of the videos that doesn't work to the copy of the site on my Macbook. The video I chose is in the same exact folder that one of the videos that works is in. Given the folder has one video that works & one that doesn't, it would make sense that the problem would be related to the individual video files.

    After downloading the video, I created a post that pointed to it & played it. The video played fine. I did nothing else to the video file, I just downloaded it, put it in a folder, created a post & put the Vipers Video Quicktag in the post for the video.

    Does anyone have any ideas of what the problem could be? What should I be looking at? This is getting very frustrating as everything I've looked at hasn't fixed the problem.

    Thanks for any help

    Tony

  2. A link to the site would help, and specifically to the posts with the videos in it.

  3. TonyVitabile
    Member
    Posted 3 years ago #

    Here is a link to a video that DOES NOT play and is the one that I downloaded to my Mac Book:

    http://churchonhigherground.org/worship/sermons/2010/04/10-0411-01/

    And here is a link to a video that DOES play:

    http://churchonhigherground.org/worship/sermons/2010/04/10-0404-01/

    These are both in the same physical folder:

    /worship/wp-content/blogs.dir/5/files/2010/04/

    Thanks again & sorry I forgot the links in the first post.

    Tony

  4. "Video not found or access denied" Check the file permissions to start. And trying to access the file directly, I get a 500 server error.

    (Coincidentally, one of those was on my birthday)

  5. TonyVitabile
    Member
    Posted 3 years ago #

    Andrea:

    Yes, that's right, that's the problem I'm having. The file permissions are set to 755 for all files & folders under blogs.dir.

    Tony

  6. For this one: http://churchonhigherground.org/worship/sermons/2010/04/10-0411-01/

    What's the DIRECT URL to the video?

  7. Well it's definitely something server-side, as like I said earlier, access the video URL directly leads to a 500 error. So it's specific to THAT video ON the server.

    @ipstenu

    http://churchonhigherground.org/worship/sermons/files/2010/04/10-0411-01.flv

  8. DJTwittr
    Member
    Posted 3 years ago #

    Tony, are you using JWplayer in another folder from the root? I think this may be a JWplayer issue and not a permission problem

  9. DJTwittr
    Member
    Posted 3 years ago #

    Tony, are you using JWplayer in another folder from the root? I think this may be a JWplayer issue and not a permission problem

  10. Thanks, Andrea. It wouldn't show when I looked from work.

    And. It's an error 500 on that file. It's the server/file permissions, for sure.

  11. vitabile
    Member
    Posted 3 years ago #

    As I said, the file permissions are all set to 755. Should I change them?

    DJTwittr: Well, I have JWPlayer installed where ever Viper's video Quicktags put it. I don't believe that's in the root. WP is not in the root, either.

    Further, the server generates the 500 error if you go to the direct URL, which should download the file.

    I'm going to try to upload that file I downloaded back to the server & see if that makes a difference.

    Tony

  12. there's more permissions that 755. Like ownership.

  13. TonyVitabile
    Member
    Posted 3 years ago #

    Andrea:

    I'm not quite sure what your last post means, but I will try uploading that file again tonight.

    Thanks for all your help, I do appreciate your time.

    Tony

  14. Ownership means what account, on the SERVER, owns a file.

    If I go to a folder (via SSH) and type ll I get a list of files with details:

    -rw-r--r--   1 ipstenu ipstenu   397 Nov 17 08:58 index.php

    See how it has my name twice? That means it's owned by ID ipstenu, member of GROUP ipstenu.

    What are yours?

  15. TonyVitabile
    Member
    Posted 3 years ago #

    ipstenu:

    I understand what you mean now. My site is hosted using FatCow and I don't have access to a shell program (That I'm aware of). They have a File Manager application in the Control Panel application, but that doesn't show who owns the files.

    I'm at work, too, so that means I can't use FTP tools to look, either, assuming they'll give me that information. Will FileZilla give me the owner name?

    Thanks again

    Tony

  16. TonyVitabile
    Member
    Posted 3 years ago #

    Just for giggles, I decided to change the permissions on one of the problem videos to 777, which I believe is full access (Read, Write & Execute) for everyone. It made no difference, the video still will not play.

    We'll see what happens after I upload the video back to the server tonight.

    Tony

  17. Can you ask their support team if they see any difference in who owns the file?

  18. TonyVitabile
    Member
    Posted 3 years ago #

    I took a look at the owner / group info in FileZilla tonight. Both files have the same information for both: Owner: 1581170, Group 15000. I also uploaded the file I had downloaded previously over the file on the server. No change.

    So, at this point, I think I have to get the host customer server people involved & give them all of the information I have. Whatever the problem is, it's not the files, it's not the permissions, it's not the .htaccess file, it's not a virus, it's not a hack. I have no idea what's left, except maybe for a the player like DJTwittr suspected.

    This is weird. Truly weird.

    Thanks for your help

    Tony

  19. Both files have the same information for both: Owner: 1581170, Group 15000.

    those are different, not the same.

    Yes, please ask your host as they will be able to look properly and possibly find it in 30 seconds.

  20. You could also try just deleting the bad file. THEN reuploading (overlaying doesn't always reset things...)

    But yeah, I'd grab my host too! No shame in that :)

  21. TonyVitabile
    Member
    Posted 3 years ago #

    OK. I finally got the video to play. But it makes no sense to me. Let me elaborate.

    I tried deleting the 10-0411-01.flv video & uploading it from my macbook. The Viper's Video Quicktag in the post at that time read:

    [flv]http://churchonhigherground.org/worship/sermons/files/2010/04/10-0411-01.flv[/flv]. It still wouldn't play. The other file in that same folder has a similar URL in it's quicktag, except for the file name. This second one plays but the first one wouldn't.

    Out of desperation, I typed this url into the browser address bar:

    http://churchonhigherground.org/worship/wp-content/blogs.dir/5/files/2010/04/10-0411-01.flv. To my surprise, the video started downloading! So I edited the post for that file & I added another quicktag:

    [flv]http://churchonhigherground.org/worship/wp-content/blogs.dir/5/files/2010/04/10-0411-01.flv[/flv] When I click on the player for this quicktag, the video plays!!

    There seems to be something wrong with the mapping of the/worship/wp-content/blogs.dir/5 folder to /worship/sermons. So how do I find /fix this problem?

    Tony

  22. If there was, then it would affect all files, not just some.

  23. Drawing from the insane problems I've had in my day job ... It could be that the names are way too similar and the .htaccess rewrite is getting hung up on the filename... I have an app where, if the file names are too similar (like the first 10 characters) weirdness happens. I would be surprised if .htaccess had that problem, but it COULD be a weird regexp collision.

    I would suggest trying to name your files in this kind of format: <descriptor>-<whatever the numbers mean>.flv or <numbers>-<descriptor>.flv

    I tend to use things like 'csi-1101-bagels.flv' and that prevents weird file collisions.

    And now I'm off to read up on .htaccess/regexp collisions...

  24. Oooooooo, good catch. I hope it's something like that.

  25. TonyVitabile
    Member
    Posted 3 years ago #

    Very interesting. I'll try renaming the file that doesn't work to something completely different & we'll see what happens.

  26. TonyVitabile
    Member
    Posted 3 years ago #

    Well, that made no difference. I changed the name of the file to "Service-10-0411-01.flv". The URL

    http://churchonhigherground.org/worship/sermons/files/2010/04/Service-10-0411-01.flv

    still doesn't work, but the url

    http://churchonhigherground.org/worhship/wp-content/blogs.dir/5/files/2010/04/Service-10-0411-01.flv

    does work.

    I cleared the PHP error log the other day & while I was in the control panel, I checked it and there are still no PHP errors in it. That means that whatever is going on, it's not a problem that returns an error in PHP.

    I've also checked the server logs but I don't see anything there about the files, or that blog, either.

    I will have to contact FatCow support tonight and see what they can find.

    Thanks again

    Tony

  27. You can't just rename the file like that (I don't think at least) without also uploading it via the media library. Shenanigans etc, but there's more to it than JUST the .htaccess translation. I'm about 90% sure that something IN WORDPRESS has to know how to translate files into the right blogs.dir folder.

  28. TonyVitabile
    Member
    Posted 3 years ago #

    These files are not in the database. They're all over 100 MB in size and I couldn't upload them using the media library. Some of them are over 200 MB in size.

    To put them on the site, I FTP them up to the folder and then enter the URL in the quick tag. It was definitely working before I upgraded the site to WordPress 3.0.

    And maybe that's my problem. Maybe I need to add rows to the database for these videos? I'm going to see if I can create one using the SQL tool.

    Tony

  29. Oh. Yeah, that would make sense.

    In that case, I'd just make a video folder off the main www folder

    www/wp-content
    www/videos/<blog number>/files/foo.flv

    And then call THAT directly. Cause yeah, I can see that as an ish :)

  30. TonyVitabile
    Member
    Posted 3 years ago #

    OR I can just change the URLs in all of the posts to point to where the darn things are now, i.e. ".../wp-content/5/files/..."

    Or I can write a plugin to produce the correct rows in the wp_<blog#>_posts table, as though the video were actually uploaded through media library. But, to do that, I have to figure out what one of those rows looks like. Can't do that at my day job, though.

    Tony

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.