%
' Comersus BackOffice Lite
' e-commerce ASP Open Source
' Comersus Open Technologies LC
' 2005
' http://www.comersus.com
%>
<%
on error resume next
dim mySQL, conntemp, rstemp
pRunInstallationWizard = getSettingKey("pRunInstallationWizard")
if pRunInstallationWizard<>"-1" then
response.redirect "comersus_backoffice_message.asp?message="&Server.UrlEncode("Sorry, the installation wizard is disabled")
end if
' try to determine if there are permissions defined
pTime=Time()
mySQL1="INSERT INTO settings (settingKey, settingValue) VALUES ('Wizard Test','"&pTime&"') "
call updateDatabase(mySQL1, rstemp, "comersus_backoffice_install.asp")
' retrieve
mySQL1="SELECT * FROM settings WHERE settingKey='Wizard Test'"
call updateDatabase(mySQL1, rstemp, "comersus_backoffice_install.asp")
pPermissionsSet=-1
if rstemp.eof then
pPermissionsSet=0
end if
%>
Installation Wizard
<%if pPermissionsSet=0 then%>
WARNING (!) It seems that you have not defined database folder permissions.
If you are using a local computer click here...
If you are using a web hosting service click here...
If you want to obtain technical assistance click here...
The installation Wizard cannot continue until you solve the permission issue
<%else%>
Hello, this is your first execution of the BackOffice.
With this installation Wizard you will be able to setup your Comersus store in 3 minutes.
If you need assistance please use "Comersus Forum" button in the header.
<%end if%>
<%call closeDb()%>