I'm on ZC v1.3.8a.
Click on "New Delivery" which takes me to
http://www.mysite.com/shop/admin/del...php?action=new
All that shows is the 'Delivery' title and nothing else.
Suggestions?
I'm on ZC v1.3.8a.
Click on "New Delivery" which takes me to
http://www.mysite.com/shop/admin/del...php?action=new
All that shows is the 'Delivery' title and nothing else.
Suggestions?
to thebeadyeye
Hello.
I have the same problem.
I have not found an opportunity to solve a problem, but for the beginning in delivery_new.php I have added $action = $ _ REQUEST [' action ']; in the beginning of a file.
It does not return value of a variable $action.
Hi,
Do you mean before:
require('includes/application_top.php');
I did that and i got this:
Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE or '$' in /home/mysite/public_html/shop/admin/delivery_new.php on line 22
I'm not all that experienced with php code.
Is yours working?
Thanks!
Line 35
// DELIVERY CONTROL by Loutka 31.12.2007
//
require('includes/application_top.php');
define('ADDPRODUCT_TEXT_SELECT_PRODUCT', 'Select product...');
define('ADDPRODUCT_TEXT_CONFIRM_QUANTITY', ' Enter product quantity.');
define('ADDPRODUCT_TEXT_CONFIRM_ADDNOW', 'Add product to this delivery');
// require(DIR_WS_CLASSES . 'delivery.php');
/*
$db->Execute("update " . TABLE_PRODUCTS . "
set products_date_available = NULL
where to_days(now()) > to_days(products_date_available)");
*/
$action = $ _ REQUEST [' action '];
if (zen_not_null($action)) {
switch ($action) {
It still doesn't like it. I'm getting:
Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE or '$' in /home/mysite/public_html/shop/admin/delivery_new.php on line 36
Are you on ZC Version 1.3.8a?
$action = $_REQUEST['action']; - yes
$action = $ _ REQUEST [' action ']; - no
Without blanks.
Last edited by shrek99; 7 May 2008 at 09:18 AM.
I have found a problem.
At present I modify all module.
I shall make, I shall lay out.
A problem in it (delivery_new.php):
$action = (isset($_GET['action']) ? $_GET['action'] : '');
$dID = zen_db_prepare_input($_GET['dID']);
$step = zen_db_prepare_input($_POST['step']);
$add_product_categories_id = zen_db_prepare_input($_POST['add_product_categories_id']);
$add_product_products_id = zen_db_prepare_input($_POST['add_product_products_id']);
$add_product_quantity = zen_db_prepare_input($_POST['add_product_quantity']);
The module works on 70%.
It is necessary to correct still "Add product".
I work above it.
It is OK.
If you do not use multilanguage it is necessary to remove:
and pd.language_id='" . $_SESSION['languages_id'] ."'
delivery.php
Line 243
and
delivered.php
Line 217
and
anddelivery_new.php
Line 234
I got this message when I tried to install the module today as well, sadly I lack any coding experience other then edits I am told to make - would anyone care to try and help a noob out? at present the only other mods i have installed are super orders and google analytics.
Thanks,
Oisín