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 2011-05-08 23:15:09

mantaray
Member
Registered: 2011-05-08
Posts: 12

[FIXED] Cannot Add Server

Just trying to add a lighttpd server and after completing the form completely, I'm getting the following error:

Query: INSERT INTO server SET server_name = 'test', ftp_host = 'MYHOST', ftp_port = 21, ftp_username = 'USER', ftp_password = 'PASS', ftp_root = 'MYFTPPATH', streaming_method = 'pseudostreaming', url = '', lighttpd_url = 'http://localhost:81', lighttpd_secdownload = '0', lighttpd_prefix = '', lighttpd_key = '', status = '1'
Error Message: Unknown column 'ftp_port' in 'field list'
Error Number: 1054

Checked the server table and sure enough there's no ftp_port field.
A fix, workaround? I don't want to go in and edit source code unless I have to. smile

Btw, I'm using "localhost" (port 81) as the server - is that okay? My domain isn't pointing to this server yet.

Last edited by mantaray (2011-05-08 23:16:13)

Offline

#2 2011-05-09 00:44:03

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

Re: [FIXED] Cannot Add Server

Yeah. I forgot about this when i updated RC1. To fix you have to add a new column to mysql server table:

ALTER TABLE `server` ADD `ftp_port` int(5) unsigned NOT NULL default '21';

Will fix in the next release. Moving your post to the bug reports.


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

Offline

Board footer

Powered by FluxBB