Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2010-12-11 13:46:30

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

[FIXED] Missing column after upgrade

Query: SELECT adv_id, title, description, type, url, code, image_type, image_url, image_ext, expire FROM adv WHERE adv_group_id = 1 AND status = '1' LIMIT 1
Error Message: Unknown column 'expire' in 'field list'
Error Number: 1054


sgt-halfsize-banner.jpg

Offline

#2 2010-12-11 14:06:18

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

Re: [FIXED] Missing column after upgrade

Shit...fixing...i think i didnt update my database after i added that function. Hmm...for now do this from phpmyadmin:

ALTER TABLE `adv` ADD expire date NOT NULL default '0000-00-00';

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

Offline

#3 2010-12-11 14:07:24

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

Re: [FIXED] Missing column after upgrade

Hmm..just checked the column is in the sql file (for the installation) and for the upgrade the column is not removed. How did you upgrade?


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

Offline

#4 2010-12-11 14:25:50

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

Re: [FIXED] Missing column after upgrade

Did it like explained in the howto: beta2 to beta3

May i post the sql here ? <--- forget that.i sent the sql via email.

But Nevertheless. The update worked very good. Well done Adrian.

Last edited by Coscast (2010-12-11 14:33:26)


sgt-halfsize-banner.jpg

Offline

#5 2010-12-11 14:50:04

mfeat50
Member
Registered: 2010-10-25
Posts: 114
Website

Re: [FIXED] Missing column after upgrade

Thats interesting you had that error..... I did the upgrade by the instructions and everything worked fine. All the tables were there.

Great job Adrian!!!

Offline

#6 2010-12-11 14:51:49

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

Re: [FIXED] Missing column after upgrade

I think he had a older version of BETA2 where the expire column was not present. Its fixed now.


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

Offline

#7 2010-12-11 15:05:40

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

Re: [FIXED] Missing column after upgrade

No Problem.

It's fixed and that is what counts.


sgt-halfsize-banner.jpg

Offline

Board footer

Powered by FluxBB