Closed ustoopia closed 5 years ago
Not sure what would cause that but I would redact some of that you are showing and change your password to that account now on your site.
I edited that before posting it is doesn't reflect the real password or videofile names etc
Looks like the video you are trying to delete is setup as a next video somewhere
But if you are using the regular delete button and the newest version of YouPHPTube it should not be a problem because we delete all relations
The video's indeed used to have a next video set. But during troubleshooting I thought that this might be the cause of my problem, so I removed all the Next video links and they are now labeled as: Next video NOT set. This unfortunately did not resolve the issue.
I usually use the default delete button shown in the screenshot. What I also tried is to select several video's and delete them all at once using the top buttons. But in both cases I get the same result.
After testing a bit more I found out that whenever I add a new video, and try to delete it afterwards, everything goes fine. It's just a handful of older video's that I can't seem to get rid of.
If this turns out to be an issue that no human can explain, I should find another way to remove the video's cleanly. So my next question is... Can I cleanly remove everything related to these video's directly in the database using phpmyadmin or heidisql? If so, where should I pay attention to and what data should I remove. I'm not a big fan of editing data within databases manually but if that gets the trick done then I may want to go ahead and pursue that solution. Any tips are welcome..
Thanks!
I am not sure what data may be removed on PHPMYADMIN, if you remove all next videos from your database, your logo should show some other error.
I'm not sure what you are saying.... What would you guys suggest I do now? What's the best way to remove these video's without breaking everything else?
I would make a backup first then just drop rows out of the Videos Table. If it messes up then just import the old one back.
Ok. I will try this. Thanks
I would make a backup first then just drop rows out of the Videos Table. If it messes up then just import the old one back.
This turned out to be easier as I thought. And it did indeed solve my problem, so thank you very much!! This also gave me a chance to get to know database structure a little bit, which is nice. Again, thank you for the support!
Greetings from the Netherlands
Good deal. Glad it worked out for you.
I'm a very happy user of youphptube. So great work all!!
I currently have an issue with a youphptube installation ubuntu 18.04. I am unable to remove several video's that I've uploaded directly as mp4. When I delete it , the site shows me a progress bar that doesn't go away untill I refresh the page. I've tried to leave it running a long long time to see if that works but that's not the issue. One thing worth mentioning is that my videos directory is actually a symlink to a different drive. But I've never had any issues with that before, and nothing has changed in that so I didn't think that would have anything to do with the issue. So, I checked out the youphptube.log file and noticed some errors at the time I tried to delete the video. I have no idea what this error message means so I decided to create this ticket. The error message is at the bottom here:
The above doesn't look like Chinese but it might as well because that's how much of it I can understand from it. I'm hoping that somebody who does have knowledge on this can tell me what the problem is, and hopefully also provide a solution :-)
Thanks in advance!!