I have a php block which connects to the database to populate a drop down list. Since i have added this code (see code below) when i try to export a snapshot i get an error (also below) which indicates that the database is open. However i am able to compact the database.
PHP Block:
Fatal error when exporting a snapshot:
Any ideas how to fix this?
Thanks.
PHP Block:
Code:
<actinic:block php="true" > $connect = odbc_connect("ActinicCatalog8","",""); $query = "SELECT [sName] FROM [Customer] ORDER BY [sName] ASC"; $result = odbc_exec($connect, $query); while(odbc_fetch_row($result)){ $nCustomer = odbc_result($result, 1); echo '<option value="'.$nCustomer.'">'.$nCustomer.'</option>'; } odbc_close($connect); </actinic:block>
FATAL ERRORS
(File SnapshotWizard.cpp, Line 674) - Archive error 5 - The compression operation failed
Library error - Can not open file C:\actinic_sites\Site1\ActinicCatalog.mdb ! has been caught.
(File SnapshotWizard.cpp, Line 674) - Archive error 5 - The compression operation failed
Library error - Can not open file C:\actinic_sites\Site1\ActinicCatalog.mdb ! has been caught.
Thanks.
Comment