Thanks for your detailed info Mihaela.
Firstly change the name of your admin folder as soon as possible and in future postings do not disclose the real name of your admin!!!

Originally Posted by
mihaela
Hallo Frank!
Thank you for your 2 statements.
This is my test plattform:
V-Server from Strato.AG (in Berlin) / My Zen-Shop in Stuttgart / There is no time difference in between. Die Zeitzone zum Ausführen der Aufgabe ist (UTC +01:00) Europe / Berlin
Server Betriebssystem: Linux 3.13.0-042stab111.12 Datenbank: MySQL 5.5.47-0ubuntu0.14.04.1
Server Datum: 15.02.2016 13:09:07 Datenbank Datum: 15.02.2016 13:09:07
Server Up Time: 13:09:07 up 2:27, 0 users, load average: 0.14, 0.06, 0.03 HTTP Server: Apache
PHP Version: 5.5.9-1ubuntu4.14 (Zend: 2.5.0) PHP Memory Limit: 256M PHP Safe Mode: Off
PHP Datei Uploads: On Max. Größe: 16M POST Max. Größe: 16M
That looks fine to me.

Originally Posted by
mihaela
My shop is to see under: lieferservice.restaurant-weilerhau.de
Now I did (once more than 100 times) the same as in installation documentation and after your statement:
1.Install „auto_store_open_close.php“ (today: auto_store_open_close.php, v 1.2 2016/02/15 / code edited direct in cPanel , no copy per FTP)
2.Than, I’ve uploaded the „init_cron_admin_user_id.php“ file in /includes/init_includes/overrides/
3.Cron jobs:
If I write the cron job with „wget“ like:
30 11 * * * wget
http://My_Domain/zencart/zen_admin/a...open_close.php
00 22 * * * wget
http://My_Domain/zencart/my_zen_admi...open_close.php
I do not get any answer……
Looks like wget may not be installed/enabled on your server or it would send you an email when the cron job is executed. You could check with your server people in Berlin if this is the case, and if not then you may ask them to enable wget. This is the first thing to do.

Originally Posted by
mihaela
By the way:
1. wget is one of the files that needs to have rights 700, else every hackers uploaded script can use it to download the rest of the hack from external websites.
All files (with the exception of the 2 configure.php files) should be set to 644, wget works with these permissions

Originally Posted by
mihaela
Do you think that this could be a reson, why the “„init_cron_admin_user_id.php“ in our case is not doing well?
It may be possible that the YOUR_ADMIN/includes/init_includes/overrides/init_cron_admin_user_id.php does not respond to your lynx command. I had something similar happening on a client's server....
Try this:
1. copy the file YOUR_ADMIN/includes/init_includes/init_admin_auth.php into the folder YOUR_ADMIN/includes/init_includes/overrides/
2. in the copied file (not the original) init_admin_auth.php add this code
PHP Code:
if (!isset($_SESSION['admin_id']) && defined('CRON_ADMIN_USER_ID') && (int)CRON_ADMIN_USER_ID != 0) {
$_SESSION['admin_id'] = CRON_ADMIN_USER_ID;
}
right after the line
PHP Code:
if (!defined('IS_ADMIN_FLAG')) die('Illegal Access');
3. delete the file YOUR_ADMIN/includes/init_includes/overrides/init_cron_admin_user_id.php
4. in the file YOUR_ADMIN/auto_store_open_close.php (which I posted above) set
PHP Code:
$store_open = ("10:55:00");// 10:55 am
$store_close = ("21:55:00"); // 09:55 pm
which is 5 minutes before your cron job times.
Let us know what transpires.
Cheers / Frank
PS: Ich bin in Schwenningen am Neckar (jetzt Villingen-Schwenningen) geboren und aufgewachsen, lebe seit fast 40 Jahren in Australien...
Bookmarks