VideoTube icon indicating copy to clipboard operation
VideoTube copied to clipboard

Missing Table in Sql FIle

Open amritcoder opened this issue 5 years ago • 3 comments

Base table or view not found: 1146 Table 'VideoTube.subscribers' doesn't exist in www\metube\includes\classes\User.php on line 84

That's why nothing can do that every page after login shows blank. Like upload.php or any other pages.

amritcoder avatar Feb 03 '21 05:02 amritcoder

That's why nothing can do that every page after login shows blank. Like upload.php or any other pages.

I agree with amrit, wasn't able to replicate getting the same error. @manoharys could you please help?

rahilpathan avatar May 11 '21 20:05 rahilpathan

Yes, that's a problem for all new installations.

You can run this in the database to make it work:

create table subscribers (userTo CHAR, userFrom CHAR);

No idea if this is entirely correct, but the contents of the sites are shown now.

Edit: There are more errors like that. Not worth for me checking out...

PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'VideoTube.DisLikes' doesn't exist in /var/www/html/VideoTube/includes/classes/Video.php:116\nStack trace:\n#0 /var/www/html/VideoTube/includes/classes/Video.php(116): PDOStatement->execute()\n#1 /var/www/html/VideoTube/includes/classes/VideoInfoControls.php(39): Video->getVideoDisLikes()\n#2 /var/www/html/VideoTube/includes/classes/VideoInfoControls.php(15): VideoInfoControls->videoDisLikeButton()\n#3 /var/www/html/VideoTube/includes/classes/VideoInfo.php(24): VideoInfoControls->create()\n#4 /var/www/html/VideoTube/includes/classes/VideoInfo.php(16): VideoInfo->getVideoPrimaryInfo()\n#5 /var/www/html/VideoTube/watch.php(30): VideoInfo->create()\n#6 {main}\n thrown in /var/www/html/VideoTube/includes/classes/Video.php on line 116

Nama avatar Jun 22 '21 20:06 Nama

there is also no comments table the entire project is not usable except if you modify it

koubaki avatar Jun 12 '24 09:06 koubaki