• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] ads

Started by star top,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

star topTopic starter

hi every body

If i delete the ads shows me this
QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-25,25' at line 1 in /home/****/public_html/lib/class.ezsql.php on line 249

Can I put the ads by modifying the file

  •  

PHPVibe A.


MacKen

Open file ads.php trong folder cpanel admin

$ads = $db->get_results("select  * from ".DB_PREFIX."ads ORDER BY  ad_id DESC ".this_limit().""); //


Reply:

$ads = $db->get_results("select  * from ".DB_PREFIX."ads ORDER BY  ad_id DESC limit 0,25");
  •  

PHPVibe A.

It was fixed in 3.6, MacKen your solution will break the pagination.

 

Similar topics (7)

Important Announcement: PHPVibe Video Sharing CMS End of Life

Started by Marius P.


Replies: 1
Views: 47079

The problem of video viewing PHPVibe 5.0

Started by Nayn


Replies: 25
Views: 75807

embed video does not work on v5

Started by neospider69


Replies: 6
Views: 57613

when slecting to unpublish music mp3 - next page says unpublished video ?

Started by spirog


Replies: 2
Views: 5303

insite ads issue when selecting above/below video player location

Started by georgepanaitescu


Replies: 3
Views: 27468

Video that I've uploaded needs to have that value in admin to upload

Started by spirog


Replies: 4
Views: 10687

video,playlist,images, etc. (frontend) select all deselect all reselect all

Started by spirog


Replies: 3
Views: 10231