If you navigate directly to the URL does it work?
If you navigate directly to the URL does it work?
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Hi Diva,
the problem with the notifications should be related to the url, to be more precise if I run the notification on my test server i got an error because it poit to:
Code:https://localhost/negozio154/cron/send_back_in_stock_notifications.php?product_id=0&key=8675309&bis_id=0&preview=true
But if i remove the https:// manually and go with:
It work.Code:localhost/negozio154/cron/send_back_in_stock_notifications.php?product_id=0&key=8675309&bis_id=0&preview=true
Obiouvsly you must have a "cron" directory in which should be located the send_back_in_stock_notifications.php.
I haven't yet tested it on live test server... doing it in the next hours
Last edited by izar74; 21 Apr 2015 at 05:43 PM.
Hi,
"File to add to your cron in cpanel:" means that if you want the notifications process to go by itself on (for example) daily basis you must add the execution of the YOURSITE.COM/corn/send_back_in_stock_notifications.php to the cron jobs in your cpanel. I use plesk, here a small guide to how to create a cron job:
http://kb.xyzscripts.com/how-to-setu...control-panel/
As regards the problem with missing page, please confirm that the "cron" directory exist, is accessible and there is the send_back_in_stock_notifications.php file inside, before further investigation.
BTW i've tested on a live test server (not local) and for me worked except that it warn me that there is a security problem bla bla bla (related to https:// probably), i skipped it and it's ok.
Last edited by izar74; 21 Apr 2015 at 06:02 PM.
Let me be clear.. I have already checked that the cron folder and the send_back_in_stock_notifications.php file are in place.. (when you get a 404 error, this would NATURALLY be the first thing that one would check.. so lest someone asks again.. YES I checked..the folder and file are in place..)
What I did notice is this:
The issue occurs on two test sites I have setup:
https://clientscrappin(dot)divawebdz...0&preview=true
https://scrappintestsite(dot)scrappi...0&preview=true
Please note that I DO NOT have SSL enabled on these test sites.. So why this is redirecting to HTTPS is baffling..
and before any asks did I try the link WITHOUT the HTTPS..
Yes.. I did.. I then get directed to the HOME page..
and finally what happens if I turn off the URL re-writer (seems to be the FAVORITE whipping boy that folks point to whenever you are troubleshooting..)
THE SAME THING I reported with the URL re-writer turned on..
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Sorry Diva I guessed You already tryied it but wanna be sooooo sure
Onestly i tryed your links and they seem exactly like mine... the only thing is, as you said, that instead of showing you the roght page it redirect oyu to the home page...
I'll send You a PM with the link and credential to my online test server. Take a look, in that site the link is working maybe you can see why mine is working and yours not...
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Well You have a point... the only thing I think could help is to compare the files to see if there is any differences, indeed i have make some changes that obiouvsly i didn't write down because i'm a little bit lazy lately.
I've Pm you with an ftp account, feel free to use it. If something will come to my mind i'll sure write it![]()
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Bookmarks