Adult Script Pro Community Forums

Create, help and share your ideas with the community!

You are not logged in.

#1 2010-10-05 18:20:44

Coscast
Member
From: Germany
Registered: 2010-10-03
Posts: 546
Website

[FIXED] Advertising Error

Query: UPDATE adv SET views = views+1 WHERE adv_id = LIMIT 1
Error Message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 1
Error Number: 1064

The adv_id is empty, would have fixed that by myself, but i can't find the bug sad
I think it's not a big thing.


sgt-halfsize-banner.jpg

Offline

#2 2010-10-05 21:23:04

symtab
Administrator
Registered: 2010-08-23
Posts: 7,483
Website

Re: [FIXED] Advertising Error

Is this in admin or the frontend? If the frontend check templates/*/extend/plugins/adv*.plugin.php. I will find the bug tomorrow morning.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2010-10-05 21:27:04

Coscast
Member
From: Germany
Registered: 2010-10-03
Posts: 546
Website

Re: [FIXED] Advertising Error

It's frontend, but i cannot see anything wrong. From what i know about php smile


sgt-halfsize-banner.jpg

Offline

#4 2010-10-06 06:57:43

symtab
Administrator
Registered: 2010-08-23
Posts: 7,483
Website

Re: [FIXED] Advertising Error

Will also check this and fix.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#5 2010-10-06 15:13:19

symtab
Administrator
Registered: 2010-08-23
Posts: 7,483
Website

Re: [FIXED] Advertising Error

Fixed.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB