Search | Statistics | User Listing Forums | Calendars | Albums | Quotes | Skins
PD9 Software Forums
PD9 Software Forums ->  MegaBBS -> MegaBBS 2.2 Information -> View Thread

You are logged in as a guest. ( logon | register )

Random quote: I have never let my schooling interfere with my education. -- Mark Twain
- (Added by: Shawn)


code error in controlpanel.asp for MySQL and upload photo
Moderators: Support Team

Jump to page : 1
Now viewing page 1 [25 messages per page]
View previous thread :: View next thread
   MegaBBS -> MegaBBS 2.2 InformationMessage format
 
UT_Texan
Posted 2010-07-04 4:19 PM (#41313)
Subject: code error in controlpanel.asp for MySQL and upload photo


New user

Posts: 1
0
Hello,
I found that the upload photo function was giving me an error.
I discovered that the deletephoto sub was missing the code for MySQL
Here is what was there.
rsInfo.open SQL, dbConnection, adOpenStatic, adLockOptimistic

I changed it to the following which corrected the error.

if ucase(sBBSDatabaseType) = "MYSQL" Then
rsInfo.CursorLocation = adUseClient
rsInfo.open SQL, sConnString & "OPTION=16387;", adOpenStatic, adLockOptimistic
else
rsInfo.open SQL, dbConnection, adOpenStatic, adLockOptimistic
end if


thanks,
Top of the page Bottom of the page
Jump to page : 1
Now viewing page 1 [25 messages per page]
Jump to forum :
Search this forum
Printer friendly version
E-mail a link to this thread

(Delete all cookies set by this site)
Running MegaBBS ASP Forum Software
© 2002-2010 PD9 Software