Hi Zenners,
I have searched the forums and found problems and solutions to transfering files from servers to servers or changing domains or taking out of one directory to another, which did not serve my purpose.
I have an installation of Zen Cart 3.8a in a domain. Both admin (www.mysite.com/store/admin) and store (www.mysite.com/store) is working good. This installation is working perfect.
Now in the same server, I copied all the folders from store folder under public_html to remove the store from URL part which would result into www.mysite.com/admin. (since I do not need the store front-end, i kept the includes and other necessary files under public_html)
I changed and did necessary to my configure.php files. The site (www.mysite.com/admin) works good except below issues:
1. in the orders page, the timestamp value shows 12-31-1969 07:00:00am no matter what the date is from the database. To be more precise, I have a CURRENT_TIMESTAMP field in orders table which stores the order date and time on TIMESTAMP format. When I try to read it through SQL as
I tried with echoing the $FORMATED_TIME variable, but blank output.Code:$result=mysql_query("SELECT UNIX_TIMESTAMP(t_stamp) AS FORMATED_TIME FROM orders WHERE orders_id=".$orders->fields['orders_id']); $FORMATED_TIME=mysql_result($result,0,"FORMATED_TIME"); $date=date("m-d-Y h:i:sa",$FORMATED_TIME);
It works perfectly in the installation which is under store folder, but outside it,
2. ACL, ACO and related stuffs are not working which is perfectly working on the copy inside store folder.
Please note: both are working in the same database.
Any help is highly appreciable.
Regards
Aftab





