-
Edit Orders v3.0 for ZC 1.3.9 [Support Thread]
This version of Edit Orders is based on Edit Orders v2.04 that used to only be available on Scott Turner's site.
With Scott's blessing (for those who have asked :smile:) it has FINALLY been made it available in the Zen Cart downloads section:
http://www.zen-cart.com/index.php?ma...oducts_id=1818
This version of Edit Order has been re-numbered to clearly distinguish it from similar mods currently available.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Edit Orders v3.0 Rev1 includes the following updates:
- Clean up and reorganize the readme file
- Includes the properly modified orders.php file (no more manual edits required!!)
- Add an admin flag that toggles the display of input fields required for use with Ty Package Tracker (must have Ty Package Tracker module installed to take advantage of this feature)
- Add an admin flag that toggles the display of buttons required for use with Super Orders (must have Super Orders module installed to take advantage of this feature)
- Removed all of the hard coded text and fixed file names and replaced them with proper language definitions
- Replaced “Add Product” text link with an “Add Products button
- Add icons to the customer section
- Corrected table format and layout of the customer section.
- Modified customer section layout so that field labels appear next to each field for each customer address type.
- Removed unused left column call and corrected <head> section to remove unused/erroneous code.
- Order status and send email features now work like Zen Cart 1.3.9 (includes the no e-mail and hidden “admin” comments options)
- Improved more intuitive page navigation and integration with the order (and Super Orders -- if installed) pages
- The back button now returns to the order list page
- Added order details button to return to the detail page of the order you are editing
- The back button on the add product section returns to the order editing page
- Added order details button on the add product section to return to the detail page of the order you are editing
- Add an admin flag that toggles the display of navigation buttons required for use with Super Orders
Edit Orders v3.0 Future Enhancements
(these changes will be coming VERY soon!)
- Support for "optional" attributes
- Ability to delete attributes from products
- Incomplete Order Currency Support
- Improved Integration with Reward Points module
- Better support for order total mods
- Add Shipping Rate Table on the order Edit page (will pull in rates for shipping modules which are active in the store)
- Add Resend Order Confirmation E-Mails
- Edit Orders will correctly notify admin when an update was attempted and no changes were actually entered.
-
Super Orders v1.3.9 users only!!
Super Orders v1.3.9 users only!!
IF you are using Super Orders v1.3.9 (This is the version dated Jul 05 2010 by That Software Guy) you will need to make a minor update to your Super Orders files to use it (Super Orders) with Edit Orders v3.0 Rev 1.
I will submitting a minor update to Edit Orders v3.0 Rev 1 to include the required Super Orders patch. If you need this patch before this update is activated in the downloads section you may PM me and I will provide you with instructions on how to get the Super Orders v1.3.9 patch.
Note:
This Super Orders patch will NOT be required when Super Orders 3.0 is released.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Great work Diva, however, a few of points:
1. If you change all <br> into <br />, the merging of files will become simpler and quicker.
2. For me, most of the numerical inputs on the edit page were left-aligned. I spent hours trying to right-align them but could not find a fix. Could you please advise on how to right-align.
3. Changing the tax amount did not change any other values, including the subtotals or totals. Have I missed something or is this the way it works.
4. Can you please send me the patch for superorders. Although I changed my edit_orders_functions so that it works with superorders, I would like to see your solution.
Thanks
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Thanks.. glad you like it..:smile:
Quote:
Originally Posted by
dw08gm
1. If you change all <br> into <br />, the merging of files will become simpler and quicker.
Call me anal, but I changed them because when validating the HTML for the page, <br> validates for the doctype, but <br /> does not..
Quote:
Originally Posted by
dw08gm
2. For me, most of the numerical inputs on the edit page were left-aligned. I spent hours trying to right-align them but could not find a fix. Could you please advise on how to right-align.
I did not attempt to align the inputs, and would need to double check what CSS change is required for this... (not sure off the top of my head.. Will need to look into this later tonight or tomorrow..
Quote:
Originally Posted by
dw08gm
3. Changing the tax amount did not change any other values, including the subtotals or totals. Have I missed something or is this the way it works.
Are you referring to the "Tax" field on the product line???
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
DivaVocals
Are you referring to the "Tax" field on the product line???
Yes and also the shipping tax.
Did you happen see my point 4 - re superorders patch - which I added as a post edit.
Cheers
-
I was in and out when I replied so I didn't see your post edit.. LOL..
Re:Super Order patch, it's available in the Zen Cart downloads now..
Re: Product tax & shipping tax fields.. Those two fields have for the longest only been display only fields in Edit Orders.. Youll see the values entered on the order, but the update does not update any of the product line or order totals based on the values entered in these fields..(you have to manually update them yourself) Shipping tax clearly indicates this on the Edit Orders page, while the prodct tax is not so clearly labeled.. This is something that will be examined and possibly addressed in the next update..
Quote:
Originally Posted by
dw08gm
Yes and also the shipping tax.
Did you happen see my point 4 - re superorders patch - which I added as a post edit.
Cheers
Posted via Mobile Device
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
DivaVocals
Re:Super Order patch, it's available in the Zen Cart downloads now..
Thanks
Found it in Edit_Orders v3.0 rev1a
http://www.zen-cart.com/index.php?ma...oducts_id=1818
Cheers
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Hi guys, I just install latest Edit Orders, but I have problem once I trying edit order. I can see only empty screen.
My log say this:
Code:
[08-Dec-2010 22:34:30] PHP Warning: require(includes/languages/1.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/xxxx/includes/init_includes/init_languages.php on line 35
[08-Dec-2010 22:34:30] PHP Warning: require(includes/languages/1.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/xxxx/includes/init_includes/init_languages.php on line 35
[08-Dec-2010 22:34:30] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/1.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxx/includes/init_includes/init_languages.php on line 35
I have been looking into the file init_languages.php
Code:
<?php
/**
* @package admin
* @copyright Copyright 2003-2010 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: init_languages.php 15995 2010-04-19 17:41:54Z drbyte $
*/
if (!defined('IS_ADMIN_FLAG')) {
die('Illegal Access');
}
// set the language
if (!isset($_SESSION['language']) || isset($_GET['language'])) {
include(DIR_WS_CLASSES . 'language.php');
$lng = new language();
if (isset($_GET['language']) && zen_not_null($_GET['language'])) {
$lng->set_language($_GET['language']);
} else {
$lng->get_browser_language();
$lng->set_language(DEFAULT_LANGUAGE);
}
$_SESSION['language'] = (zen_not_null($lng->language['directory']) ? $lng->language['directory'] : 'english');
$_SESSION['languages_id'] = (zen_not_null($lng->language['id']) ? $lng->language['id'] : 1);
$_SESSION['languages_code'] = (zen_not_null($lng->language['code']) ? $lng->language['code'] : 'en');
}
// temporary patch for lang override chicken/egg quirk
$template_query = $db->Execute("select template_dir from " . TABLE_TEMPLATE_SELECT . " where template_language in (" . (int)$_SESSION['languages_id'] . ', 0' . ") order by template_language DESC");
$template_dir = $template_query->fields['template_dir'];
// include the language translations
require(DIR_WS_LANGUAGES . $_SESSION['language'] . '.php');
$current_page = basename($PHP_SELF);
if (file_exists(DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . $current_page)) {
include(DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . $current_page);
}
if ($za_dir = @dir(DIR_WS_LANGUAGES . $_SESSION['language'] . '/extra_definitions')) {
while ($zv_file = $za_dir->read()) {
if (strstr($zv_file, '.php')) {
require(DIR_WS_LANGUAGES . $_SESSION['language'] . '/extra_definitions/' . $zv_file);
}
}
$za_dir->close();
}
See the red code.
Can you help me please ?
Thank you.
BTW I merged all files properly and copy all folders as it should be.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Is your store's default language something other than english??? I'm guessing here, but the parts highlighted in blue would seem to lean towards you having a language file named 1.php which Edit Orders cannot find since there are no language files in Edit Orders for this language.. (which by the way is kinda non-standard for how language files are usually named)
Quote:
Originally Posted by
cyberian37
Hi guys, I just install latest Edit Orders, but I have problem once I trying edit order. I can see only empty screen.
My log say this:
Code:
[08-Dec-2010 22:34:30] PHP Warning: require(includes/languages/1.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/xxxx/includes/init_includes/init_languages.php on line 35
[08-Dec-2010 22:34:30] PHP Warning: require(includes/languages/1.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/xxxx/includes/init_includes/init_languages.php on line 35
[08-Dec-2010 22:34:30] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/1.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxx/includes/init_includes/init_languages.php on line 35
I have been looking into the file init_languages.php
Code:
<?php
/**
* @package admin
* @copyright Copyright 2003-2010 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: init_languages.php 15995 2010-04-19 17:41:54Z drbyte $
*/
if (!defined('IS_ADMIN_FLAG')) {
die('Illegal Access');
}
// set the language
if (!isset($_SESSION['language']) || isset($_GET['language'])) {
include(DIR_WS_CLASSES . 'language.php');
$lng = new language();
if (isset($_GET['language']) && zen_not_null($_GET['language'])) {
$lng->set_language($_GET['language']);
} else {
$lng->get_browser_language();
$lng->set_language(DEFAULT_LANGUAGE);
}
$_SESSION['language'] = (zen_not_null($lng->language['directory']) ? $lng->language['directory'] : 'english');
$_SESSION['languages_id'] = (zen_not_null($lng->language['id']) ? $lng->language['id'] : 1);
$_SESSION['languages_code'] = (zen_not_null($lng->language['code']) ? $lng->language['code'] : 'en');
}
// temporary patch for lang override chicken/egg quirk
$template_query = $db->Execute("select template_dir from " . TABLE_TEMPLATE_SELECT . " where template_language in (" . (int)$_SESSION['languages_id'] . ', 0' . ") order by template_language DESC");
$template_dir = $template_query->fields['template_dir'];
// include the language translations
require(DIR_WS_LANGUAGES . $_SESSION['language'] . '.php');
$current_page = basename($PHP_SELF);
if (file_exists(DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . $current_page)) {
include(DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . $current_page);
}
if ($za_dir = @dir(DIR_WS_LANGUAGES . $_SESSION['language'] . '/extra_definitions')) {
while ($zv_file = $za_dir->read()) {
if (strstr($zv_file, '.php')) {
require(DIR_WS_LANGUAGES . $_SESSION['language'] . '/extra_definitions/' . $zv_file);
}
}
$za_dir->close();
}
See the red code.
Can you help me please ?
Thank you.
BTW I merged all files properly and copy all folders as it should be.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
cyberian37
Can you help me please ?
Thank you.
BTW I merged all files properly and copy all folders as it should be.
One last thing.. A search on the forum for your error would have turned up threads like this one which outlines what is going on in your store:
http://www.zen-cart.com/forum/showth...uages.php+line
See if this thread helps you get a handle on your issue.. At this point it does not seem to be a Edit Orders issue..
However you should note that there are no other language translations for the Edit Order language files.. Only english is available.. If folks create language translations for additional languages and send them to me, I'll be happy to update the Edit Orders fileset with the additional language definitions..
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Actually no, it's English only. Yes I notice that as well, just don't understand it. I even never had any different language installed then English.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Yes I saw that thread too, but it does not help. Also I try to add there an other file "1.php", but then it show me this error:
Code:
[09-Dec-2010 12:25:39] PHP Warning: require(includes/languages/englishenglish.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/xxxx/includes/init_includes/init_languages.php on line 35
[09-Dec-2010 12:25:39] PHP Warning: require(includes/languages/englishenglish.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/xxxx/includes/init_includes/init_languages.php on line 35
[09-Dec-2010 12:25:39] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/englishenglish.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxx/includes/init_includes/init_languages.php on line 35
It look like I did not merge properly my files, but I did try this so many time.
I have not really clue what to do.
Thank you for any advice.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
The issue is truly NOT with this module but in how you have your store configured.. The error CLEARLY indicates (as that thread I pointed you to also indicated) that your store is attempting to look for a language file that DOES NOT EXIST in your admin.. I promise you that this is NOT an issue with Edit Orders.. It appears that Edit Orders is failing to run because you HAVE ANOTHER issue with your store.. Without seeing your store files I cannot say WHAT you have going on or what went wrong..
This is a STRAIGHTFORWARD install.. ONLY ONE file overwrites any of the core Zen Cart code.. Once you renamed the admin folders to match your own admin it should just WORK..
Out of curiosity you aren't using a Template Monster template are you??
Quote:
Originally Posted by
cyberian37
Yes I saw that thread too, but it does not help. Also I try to add there an other file "1.php", but then it show me this error:
Code:
[09-Dec-2010 12:25:39] PHP Warning: require(includes/languages/englishenglish.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/xxxx/includes/init_includes/init_languages.php on line 35
[09-Dec-2010 12:25:39] PHP Warning: require(includes/languages/englishenglish.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/xxxx/includes/init_includes/init_languages.php on line 35
[09-Dec-2010 12:25:39] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/englishenglish.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxx/includes/init_includes/init_languages.php on line 35
It look like I did not merge properly my files, but I did try this so many time.
I have not really clue what to do.
Thank you for any advice.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Wanted to add a few thoughts.. You have either got something else going on with your store or you have installed Edit Orders incorrectly.. Either way the error message you are getting is VERY clear. Zen Cart is looking for a language file it cannot find..
Did you RENAME all the the "YOUR_ADMIN_TEMPLATE" folders in the Edit Orders fileset BEFORE you uploaded them to your site??
Did you remove any language files??
Did you ADD any language files??
Did you change your default language??
Just wanted to show you that if you seach this forum for "includes/init_includes/init_languages.php" that EVERY ONE of these posts points to a MISSING language file..
http://www.zen-cart.com/forum/showpo...90&postcount=2
http://www.zen-cart.com/forum/showth..._languages.php
http://www.zen-cart.com/forum/showth..._languages.php
http://www.zen-cart.com/forum/showth..._languages.php
http://www.zen-cart.com/forum/showth..._languages.php
Now let me be clear... MISSING means that Zen Cart cannot find it and this COULD happen if you did not rename the admin folders in the Edit Order fileset as per the CLEAR:smile: instructions in the readme to do this before you upload the files to your server..
Again, I am giving you my best suggestions based on the information you have provided.. without seeing your site files, I cannot say what has happened here..
Quote:
Originally Posted by
cyberian37
Yes I saw that thread too, but it does not help. Also I try to add there an other file "1.php", but then it show me this error:
Code:
[09-Dec-2010 12:25:39] PHP Warning: require(includes/languages/englishenglish.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/xxxx/includes/init_includes/init_languages.php on line 35
[09-Dec-2010 12:25:39] PHP Warning: require(includes/languages/englishenglish.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/xxxx/includes/init_includes/init_languages.php on line 35
[09-Dec-2010 12:25:39] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/englishenglish.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxx/includes/init_includes/init_languages.php on line 35
It look like I did not merge properly my files, but I did try this so many time.
I have not really clue what to do.
Thank you for any advice.
-
1 Attachment(s)
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Well I am using lite_red template. Actually yes I was thinking that must be something wrong using that template together with this module, but the fact it that this template is not installed in admin area and the fault is appear only in admin area. Maybe I did merge wrong my files, probably, but as more I am thinking about I don't know where, which make me mad ... :frusty:
And I have own renamed admin area, that's the first thing I did after installation.
I put there my original files, everything working just fine, no error anywhere.
Would you be so kind to review my last recent changes.
Thank you very much in advance.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
This zip contains a folder named "admin". If this is NOT the name of your admin folder then this is the issue.. You need to rename the YOUR_ADMIN_FOLDER files to MATCH the same folder name as your admin folder.. If you did not do this, then ALL of the Edit Orders files are in the wrong place.. If you put this "admin" folder INSIDE your renamed Zen Cart admin folder then THIS is why Edit Order is giving you a language file error..
Is edit_orders.php inside your store's admin folder or inside a folder named "admin" which is sitting inside your renamed admin folder??? Again I can't see your site.. So it's a LOT difficult to figure out what you have done to install this..
Quote:
Originally Posted by
cyberian37
Well I am using lite_red template. Actually yes I was thinking that must be something wrong using that template together with this module, but the fact it that this template is not installed in admin area and the fault is appear only in admin area. Maybe I did merge wrong my files, probably, but as more I am thinking about I don't know where, which make me mad ... :frusty:
And I have own renamed admin area, that's the first thing I did after installation.
I put there my original files, everything working just fine, no error anywhere.
Would you be so kind to review my last recent changes.
Thank you very much in advance.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
DivaVocals
Wanted to add a few thoughts.. You have either got something else going on with your store or you have installed Edit Orders incorrectly.. Either way the error message you are getting is VERY clear. Zen Cart is looking for a language file it cannot find..
Did you RENAME all the the "YOUR_ADMIN_TEMPLATE" folders in the Edit Orders fileset BEFORE you uploaded them to your site??
YES
Did you remove any language files??
NO
Did you ADD any language files??
NO
Did you change your default language??
NO IT'S ENGLISH
Just wanted to show you that if you seach this forum for "includes/init_includes/init_languages.php" that EVERY ONE of these posts points to a MISSING language file..
Yes I saw it
http://www.zen-cart.com/forum/showpo...90&postcount=2
http://www.zen-cart.com/forum/showth..._languages.php
http://www.zen-cart.com/forum/showth..._languages.php
http://www.zen-cart.com/forum/showth..._languages.php
http://www.zen-cart.com/forum/showth..._languages.php
Now let me be clear... MISSING means that Zen Cart cannot find it and this COULD happen if you did not rename the admin folders in the Edit Order fileset as per the CLEAR:smile: instructions in the readme to do this before you upload the files to your server..
I did everything as the instructions say(I hope)
Again, I am giving you my best suggestions based on the information you have provided.. without seeing your site files, I cannot say what has happened here..
Thank you, I do really appreciate that.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
DivaVocals
This zip contains a folder named "admin". If this is NOT the name of your admin folder then this is the issue.. You need to rename the YOUR_ADMIN_FOLDER files to MATCH Thats just a sample, I have different name of admin the same folder name as your admin folder.. If you did not do this, then ALL of the Edit Orders files are in the wrong place.. If you put this "admin" folder INSIDE your renamed Zen Cart admin NO, it is as it should be folder then THIS is why Edit Order is giving you a language file error..
Is edit_orders.php inside your store's admin folder YES or inside a folder named "admin" which is sitting inside your renamed admin folder NO??? Again I can't see your site.. So it's a LOT difficult to figure out what you have done to install this..
I think that the installation is very simple and I put all files at the right place, that should not be an issue at all.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
cyberian37
I think that the installation is very simple and I put all files at the right place, that should not be an issue at all.
Well the language file issue points at something missing that Zen Cart can't find.. I can't see your store files.. So I am entirely unsure what the issue is..
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
There are NO language files in this folder.. Are you SURE you uploaded EVERYTHING??? Are the Edit Orders language files in place??
Quote:
Originally Posted by
cyberian37
Well I am using lite_red template. Actually yes I was thinking that must be something wrong using that template together with this module, but the fact it that this template is not installed in admin area and the fault is appear only in admin area. Maybe I did merge wrong my files, probably, but as more I am thinking about I don't know where, which make me mad ... :frusty:
And I have own renamed admin area, that's the first thing I did after installation.
I put there my original files, everything working just fine, no error anywhere.
Would you be so kind to review my last recent changes.
Thank you very much in advance.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Ok here is my complete admin folder. The configuration is deleted only because I do publish the file here. The rest is exactly as it is.
Code:
http://http://www.easy-share.com/1913239531/myadminfolder.zip
Thank you.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
cyberian37
Ok here is my complete admin folder. The configuration is deleted only because I do publish the file here. The rest is exactly as it is.
Code:
http://http://www.easy-share.com/1913239531/myadminfolder.zip
Thank you.
Not for nothing, but I don't have free time to spare to examine your entire admin folder in detail.. A quick glance at the file contents and I noticed that I didn't see an orders.php file..
I have provided you with enough guidance as to the nature of your problem and possible fixes.. My suggestion at this point is for you to back out all of the Edit Order files and edits you have made and start over..
The error you have is either due to an incorrect/incomplete Edit Orders install or because there is another issue in your store which is creating the missing language file errors. Edit Orders was tested by a number of folks prior to being submitted to the downloads, and it works PERFECTLY out the box..
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Well orders.php it's there. But thank you anyway, I guess that's I miss out something ... probably.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
cyberian37
Well orders.php it's there. But thank you anyway, I guess that's I miss out something ... probably.
Seriously here's what I suggest.. Something is WRONG with your install and if I had free time I really would take a detailed look.. (honest!:smile:)
Try the following..
- Roll back to the version of your store BEFORE you installed Edit Orders
- TEST.. Make sure EVERYTHING works..
- Re-download Edit Orders (your download MAY be corrupted)
- Re-Install Edit Orders.
- TEST..
- Let me know what your result is..
BTW.. you did not say..
Are you running Zen Cart v1.3.9??
Are you running any other mods??
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Well I can see that there is something wrong, just can't figure out what that could be. I did re-installation atleast 50 time and spend 2 days on it ... I will just give up, because I can't try anything else as I did everything so far.
I just made the last try now and it say the same as in the beginning :
Code:
[09-Dec-2010 16:52:54] PHP Warning: require(includes/languages/1.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/xxxx/includes/init_includes/init_languages.php on line 35
[09-Dec-2010 16:52:54] PHP Warning: require(includes/languages/1.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/xxxx/includes/init_includes/init_languages.php on line 35
[09-Dec-2010 16:52:54] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/1.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxx/includes/init_includes/init_languages.php on line 35
It's a bit shame, but what more is left I don't know. Maybe I will try to apply this mode into the fresh installation to see if that will work for me, to ensure I done my part correct. If that will work then there must be something.
Yes I run 1.3.9h version.
Actually I have Captcha and Backup mods installed.
It's quite strange, the fault occur only if I did edit or add something new into the current order, otherwise everything is ok.
Thanks for your effort.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
cyberian37
Well I can see that there is something wrong, just can't figure out what that could be. I did re-installation atleast 50 time and spend 2 days on it ... I will just give up, because I can't try anything else as I did everything so far.
I just made the last try now and it say the same as in the beginning :
Code:
[09-Dec-2010 16:52:54] PHP Warning: require(includes/languages/1.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/xxxx/includes/init_includes/init_languages.php on line 35
[09-Dec-2010 16:52:54] PHP Warning: require(includes/languages/1.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/xxxx/includes/init_includes/init_languages.php on line 35
[09-Dec-2010 16:52:54] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/1.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxx/includes/init_includes/init_languages.php on line 35
It's a bit shame, but what more is left I don't know. Maybe I will try to apply this mode into the fresh installation to see if that will work for me, to ensure I done my part correct. If that will work then there must be something.
Yes I run 1.3.9h version.
Actually I have Captcha and Backup mods installed.
It's quite strange, the fault occur only if I did edit or add something new into the current order, otherwise everything is ok.
Thanks for your effort.
Zen Cart is looking for a file named 1.php which should be located in includes/languages
You need to check the language pack(s) you are using and upload the missing file.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
I already done that and I see that there should be a file called "1.php" as it says, but if I put there such file (just copy and rename english.php) as I have not any file like that, then it ill show the error say englishenglish.php missing, even "english.php" is there together with that file.
So there must be something else which I don't know...
Thanks.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
cyberian37
I already done that and I see that there should be a file called "1.php" as it says, but if I put there such file (just copy and rename english.php) as I have not any file like that, then it ill show the error say englishenglish.php missing, even "english.php" is there together with that file.
So there must be something else which I don't know...
Thanks.
And as I have stated repeatedly this is likely because something else you've installed is the REAL root of the issue..
Quote:
Originally Posted by
cyberian37
It's a bit shame, but what more is left I don't know. Maybe I will try to apply this mode into the fresh installation to see if that will work for me, to ensure I done my part correct. If that will work then there must be something.
This is my next suggestion.. Can't get to the heart of the matter unless it's CLEAR which other module is causing the conflict..
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Well it's working now, but what come up is an other problem in case I do try to change Status. Actually I can't, because otherwise come a page says this :
Code:
1054 Unknown column 'track_id1' in 'field list'
in:
[INSERT INTO orders_status_history (orders_id, orders_status_id, date_added, customer_notified, comments, track_id1, track_id2, track_id3, track_id4, track_id5) VALUES ('1', '3', now(), '1', '', '', '', '', '', '')]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
In fact if I don' type anything into the Comments, the page just refresh and say that is updated, but it not. And if I try to type something into the Comments then become that Error.
Any idea ?
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
[/quote]
Quote:
Originally Posted by
cyberian37
Well it's working now
So for the benefit of the community what WAS the real issue that caused your language file issues??
Quote:
Originally Posted by
cyberian37
but what come up is an other problem in case I do try to change Status. Actually I can't, because otherwise come a page says this :
Code:
1054 Unknown column 'track_id1' in 'field list'
in:
[INSERT INTO orders_status_history (orders_id, orders_status_id, date_added, customer_notified, comments, track_id1, track_id2, track_id3, track_id4, track_id5) VALUES ('1', '3', now(), '1', '', '', '', '', '', '')]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Any idea ?
Did you install the Ty Package Tracker files that come with Edit Orders??
Do you have Ty Package Tracker module installed (NOT part of the Edit Orders files)??
Did you set the Edit Orders "Ty Package Tracker Module Switch" to TRUE??
From the Edit Orders readme:
Quote:
Ty Package Tracker Users
- If you have installed Ty Package Tracker and would like to use Ty Package Tracker with Edit Orders please read the "How to Use" tab
AND..
Quote:
Ty Package Tracker Files (
You MUST have Ty Package Tracker installed to use the Ty Package Tracker integration features)
- If you are running Ty Package Tracker, install the 3_TyPackage_Tracker_Files files. Go to Admin > Configuration > Edit Orders. Then simply set the Ty Package Track flag to "True" to activate the Ty Package Tracker fields in Edit Orders.
From the Edit Orders admin:
Quote:
If you have the Ty Package Tracker module installed, set this option to TRUE so that Ty Package Tracker fields will display in Edit Orders
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
I had the simple edit order smod installed. I have uninstalled it and installed this mod, however when i do so it kills my admin geeraitng the following error in the cache:
Code:
[13-Dec-2010 15:10:25] PHP Fatal error: Cannot redeclare zen_db_scrub_in() (previously declared in /admin/includes/functions/extra_functions/super_orders_functions.php:142) in /admin/includes/functions/extra_functions/common_orders_functions.php on line 53
I think this may be becuase of edits made to general.php (admin) and orders.php (admin) that i made when installing simple edit orders but i can't figure out what i need to change.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
DVDTitan
I had the simple edit order smod installed. I have uninstalled it and installed this mod, however when i do so it kills my admin geeraitng the following error in the cache:
Code:
[13-Dec-2010 15:10:25] PHP Fatal error: Cannot redeclare zen_db_scrub_in() (previously declared in /admin/includes/functions/extra_functions/super_orders_functions.php:142) in /admin/includes/functions/extra_functions/common_orders_functions.php on line 53
I think this may be becuase of edits made to general.php (admin) and orders.php (admin) that i made when installing simple edit orders but i can't figure out what i need to change.
Has nothing to do with EITHER of these files..
If you look at the error it tells you EXACTLY which file(s) are calling the error..
Quote:
Cannot redeclare zen_db_scrub_in() (previously declared in /admin/includes/functions/extra_functions/super_orders_functions.php:142) in /admin/includes/functions/extra_functions/common_orders_functions.php on line 53
In this case it's a Super Orders file (super_orders_functions.php) and a file from this mod (common_orders_functions.php)..
Sounds like you are running one of the Super Order v.2.0 varieties -- dunno which specific SO version you are running.. I do know this error would only occur if you are runing a version of Super Orders prior to the upcoming Super Orders v3.0 (currently submitted pending approval)
The readme in Edit Orders v3.0 Rev1a has a specific section which covers Super Orders users. I posted about this in this thread as well..
http://www.zen-cart.com/forum/showpo...98&postcount=3
If you are not using the v3.0 Rev1a files, you need to download them and follow the instructions for doing the required Super Orders update to make this error stop..
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Thanks for this info. I have done this but the admin still breaks this time with a different error message:
Code:
[13-Dec-2010 17:17:13] PHP Fatal error: Cannot redeclare zen_get_payment_type_name() (previously declared in /admin/includes/functions/extra_functions/super_orders_functions.php1:32) in /adminincludes/functions/extra_functions/super_orders_functions.php on line 41
Any idea what could be causing this?
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
DVDTitan
Thanks for this info. I have done this but the admin still breaks this time with a different error message:
Code:
[13-Dec-2010 17:17:13] PHP Fatal error: Cannot redeclare zen_get_payment_type_name() (previously declared in /admin/includes/functions/extra_functions/super_orders_functions.php1:32) in /adminincludes/functions/extra_functions/super_orders_functions.php on line 41
Any idea what could be causing this?
Did you install the Super Orders patch files that come with the Rev1a files????? It looks like you did and just renamed the old ones to super_orders_functions.php1. You cannot do that or you will continue to get this error.. The error is telling that there are TWO files attempting to declare the SAME function.. (which WILL continue to cause this error if you do not remove one. in this case you need to delete super_orders_functions.php1
Quote:
Cannot redeclare zen_get_payment_type_name() (previously declared in /admin/includes/functions/extra_functions/super_orders_functions.php1:32) in /adminincludes/functions/extra_functions/super_orders_functions.php on line 41
You need to REPLACE the super_orders_functions.php in your store with the one included in the Super Orders patch files that come with Edit Order v3.0 Rev1a. You CANNOT leave the old functions file in the same folder (even if you have renamed it)..
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
jeez, i made hard work of that didn't i? It's been a long day! That sorted, will play around with it now.
Thanks for your help.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
DVDTitan
jeez, i made hard work of that didn't i? It's been a long day! That sorted, will play around with it now.
Thanks for your help.
No worries.. Glad it's all sorted out now.. :smile:
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Me again :blush:
whilst i can edit orders in orders.php there is no ability to edit orders in the same way in either super orders or the Ty package tracker.
I have added all the files & SQL but there is no ability to edit through anything other than orders.php.
Am i missing something here?
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
DVDTitan
Me again :blush:
whilst i can edit orders in orders.php there is no ability to edit orders in the same way in either super orders or the Ty package tracker.
I have added all the files & SQL but there is no ability to edit through anything other than orders.php.
Am i missing something here?
if you are talking about adding an "Edit Orders" button to Ty Package Tracker's tracker.php file, then you are right there is no such mechanism. You can try using a file comparison program and merge into tracker.php the required code from orders.php..
Frankly I never understood why Ty Package Tracker used what amounts to a "parallel" version of orders.php. The Super Orders like navigation and the Ty Package Tracker fields could have EASILY been incorporated into the default orders.php eliminating the NEED for two flavors of orders.php.
As for Super Orders.. If you uploaded the files in the Super Orders v1.3.9 patch folder and installed the SQL file, all you need to do is "turn on" Edit Orders in Super Orders and vice versa.
It looks like I inadvertently left out the step to turn on the Edit Orders buttons/icons in Super Orders. So do this:
Go to Admin > Configuration > Edit Orders. Set the "Super Orders Module Switch" to "True". This swaps the Edit Orders buttons that normally return you to orders.php to return you to super_orders.php.
THEN
Admin > Configuration > Super Orders. Set the "Edit Orders Module Switch" to "True". This will activate the buttons and icons that link Edit Orders to Super Orders.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Just installed edit orders for 1.3.9 and am experiencing the same problem with the language file.
The admin page goes blank and this is the error:
[14-Dec-2010 09:47:18] PHP Warning: main(includes/languages/1.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in C:\xampp1\xampp\htdocs\store\admin\includes\init_includes\init_languages.php on line 36
[14-Dec-2010 09:47:18] PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/1.php' (include_path='.;C:\xampp1\xampp\php\pear\') in C:\xampp1\xampp\htdocs\store\admin\includes\init_includes\init_languages.php on line 36
I am running 1.3.9h, and only using english. When checking the init_languages.php file that file it is pertaining to is coded as '.php' with no 1.
Also since I didnot have super tracker, I just did not install the patch. I have TY tracker installed so have installed that part.
Any help or suggestion on how to fix this? Thanks
Quote:
Originally Posted by
cyberian37
Well it's working now, but what come up is an other problem in case I do try to change Status. Actually I can't, because otherwise come a page says this :
Code:
1054 Unknown column 'track_id1' in 'field list'
in:
[INSERT INTO orders_status_history (orders_id, orders_status_id, date_added, customer_notified, comments, track_id1, track_id2, track_id3, track_id4, track_id5) VALUES ('1', '3', now(), '1', '', '', '', '', '', '')]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
In fact if I don' type anything into the Comments, the page just refresh and say that is updated, but it not. And if I try to type something into the Comments then become that Error.
Any idea ?
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
I can say that in all the testing that myself and fours others did on this version of Edit Orders BEFORE it was submitted, we CANNOT replicate this error AT ALL, and since cyberian37 never reported back how he resolved this same issue I am at a loss as to the cause.
I'm inclined to think that the problem may have something to so with another module you have installed.. Without seeing your store files I can only tell you what the error message means (a missing language file is being called that Zen Cart cannot find) I cannot say WHY this is happening at the moment.
So a few questions:
What version of Zen Cart are you running?
What other admin side mods do you have installed (please tell me WHICH versions of these mods as well)?
What tools/method did you use to upload the Edit Orders files?
Are you upgrading from a previous version of Edit Orders? If so which version??
Also I'm a little puzzled... You quoted cyberian37's post regarding the Ty Package Tracker error..
Quote:
1054 Unknown column 'track_id1' in 'field list'
are you ALSO getting the same Ty Package Tracker fields missing error that he reported??
Also so there's no confusion it's SUPER ORDERS not Super Tracker..
Quote:
Also since I didnot have super tracker, I just did not install the patch. I have TY tracker installed so have installed that part.
Quote:
Originally Posted by
Decostyle
Just installed edit orders for 1.3.9 and am experiencing the same problem with the language file.
The admin page goes blank and this is the error:
[14-Dec-2010 09:47:18] PHP Warning: main(includes/languages/1.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in C:\xampp1\xampp\htdocs\store\admin\includes\init_includes\init_languages.php on line 36
[14-Dec-2010 09:47:18] PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/1.php' (include_path='.;C:\xampp1\xampp\php\pear\') in C:\xampp1\xampp\htdocs\store\admin\includes\init_includes\init_languages.php on line 36
I am running 1.3.9h, and only using english. When checking the init_languages.php file that file it is pertaining to is coded as '.php' with no 1.
Also since I didnot have super tracker, I just did not install the patch. I have TY tracker installed so have installed that part.
Any help or suggestion on how to fix this? Thanks
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Hi thanks for the quick reply. Please see reply below:
What version of Zen Cart are you running? 1.3.9 H
What other admin side mods do you have installed (please tell me WHICH versions of these mods as well)?
TY Tracker for x2-3a
Quick Updates 2.04
Cross Sell 185
Module Manager rev15
What tools/method did you use to upload the Edit Orders files?
I'm currently testing on local host so just copy and past the files.
Are you upgrading from a previous version of Edit Orders? If so which version??
I had Edit Orders 2.03 then just over ride the files with the new ones.
Also I'm a little puzzled... You quoted cyberian37's post regarding the Ty Package Tracker error..
The problem is just on the language error, haven't even gone through the fields because right now my admin is blank.
I do not have SUPER Orders so have not installed the new files for this.
I have removed all the files since and re-installed again and went through checking step by step this is what I found:(all files have been renamed):
1. Uploaded the files on Folder 1 Install Files.
2. Checked and the admin is still running. no problem.
3. Copy and pasted the Required core edits.
4. Checked admin, was able to click on button EDIT and see the fields. Looks so much more improved! Yeah!
5. Now I want to install the SQL...then the admin goes blank.
6. Now cannot access the admin, even login is blank.
Went to cache debugging and I get the language file error.
Don't know what to make of it. Any suggestions?
-
Now THAT is a useful answer!!!! Thank your for not only telling me what happened, but HOW you got there...
Okay.. Try this.. Can you un the uninstal SQL file.. Tell me what happens.. Also.. when you ran the install script HOW did you run it and did you get any errors/flags??
Quote:
Originally Posted by
Decostyle
Hi thanks for the quick reply. Please see reply below:
What version of Zen Cart are you running? 1.3.9 H
What other admin side mods do you have installed (please tell me WHICH versions of these mods as well)?
TY Tracker for x2-3a
Quick Updates 2.04
Cross Sell 185
Module Manager rev15
What tools/method did you use to upload the Edit Orders files?
I'm currently testing on local host so just copy and past the files.
Are you upgrading from a previous version of Edit Orders? If so which version??
I had Edit Orders 2.03 then just over ride the files with the new ones.
Also I'm a little puzzled... You quoted cyberian37's post regarding the Ty Package Tracker error..
The problem is just on the language error, haven't even gone through the fields because right now my admin is blank.
I do not have SUPER Orders so have not installed the new files for this.
I have removed all the files since and re-installed again and went through checking step by step this is what I found:(all files have been renamed):
1. Uploaded the files on Folder 1 Install Files.
2. Checked and the admin is still running. no problem.
3. Copy and pasted the Required core edits.
4. Checked admin, was able to click on button EDIT and see the fields. Looks so much more improved! Yeah!
5. Now I want to install the SQL...then the admin goes blank.
6. Now cannot access the admin, even login is blank.
Went to cache debugging and I get the language file error.
Don't know what to make of it. Any suggestions?
Posted via Mobile Device
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
In an attempt to try and isolate where the store goes haywire. I changed the sequence of installation as follows.
Firstly I took out all the edit orders files and uninstalled the SQL. Then...
1. Installed SQL using the admin SQL function, copy and pasted then hit run.
2. Checked admin, all working, no problem
3. Added the TY Tracker file.
4. Checked admin, no problem, clicked on Add tracking number, everything working ok.
5. Added the overwrite core file.
6. Checked admin, TY tracker still working, no problem viewing orders etal.
7. Added the "Install Files" All the files.
8. Now at first I can see the EDIT button and am able to view the order to edit. When I hit the "Add Products" everything goes haywire.
The page goes blank. Error about the language repeatedly comes up. Admin goes totally blank, can't even login. I have to remove all the files for edit order for the admin to go back to normal.
I'm wondering why of all errors it would be pointing to a language error?
The one other thing I need to try is to do it online in a test store to see whether it is the version of PHP that is affecting it. As I said this was being tested on local host which has a lower PHP version than the one required for 1.3.9H. Will report back soon.
Meanwhile hopefully someone else can help test it. This is a very useful module.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
I did a little more research myself, and my next question to you was going to be regarding the version of PHP your local server is running.. Can you tell me what version of PHP you are running on your local server??
I can't locate it now, but I found a post DrByte had made elsewhere which discussed PHP versions and Zen Cart v1.3.9. I'll have to see if I can locate that post (I have to FIRST remember the search string I used to find it in the first place:laugh:) But I think that until you are testing/running this under the recommended PHP version for Zen Cart 1.3.9 we can't rule out server setup as a possible cause..
I wish that cyberian37's had shared HOW he finally resolved this same issue :( (it sounds like he eventually resolved the language errors).. It would have been imensely helpful to this process..
In any case I appreciate you sticking with this and continuing to provide DETAILED information.. It will help narrow things down a bit, and once we confirm what the issue is, I can update either the mod or the readme docs accordingly. (depending on the findings..)
Quote:
Originally Posted by
Decostyle
In an attempt to try and isolate where the store goes haywire. I changed the sequence of installation as follows.
Firstly I took out all the edit orders files and uninstalled the SQL. Then...
1. Installed SQL using the admin SQL function, copy and pasted then hit run.
2. Checked admin, all working, no problem
3. Added the TY Tracker file.
4. Checked admin, no problem, clicked on Add tracking number, everything working ok.
5. Added the overwrite core file.
6. Checked admin, TY tracker still working, no problem viewing orders etal.
7. Added the "Install Files" All the files.
8. Now at first I can see the EDIT button and am able to view the order to edit. When I hit the "Add Products" everything goes haywire.
The page goes blank. Error about the language repeatedly comes up. Admin goes totally blank, can't even login. I have to remove all the files for edit order for the admin to go back to normal.
I'm wondering why of all errors it would be pointing to a language error?
The one other thing I need to try is to do it online in a test store to see whether it is the version of PHP that is affecting it. As I said this was being tested on local host which has a lower PHP version than the one required for 1.3.9H. Will report back soon.
Meanwhile hopefully someone else can help test it. This is a very useful module.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Hello, well it seems the PHP version is what is causing the instability.
My local host PHP version is PHP Version: 5.0.5 (Zend: 2.0.5).
The online host PHP version is PHP Version: 5.2.14 (Zend: 2.2.0)
When I installed the files online, went through the same sequence as above and everything worked just fine!
So there you have it. The current module as-is will probably only work in the higher PHP version.
Thanks!
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Whew!!! Thank you thank you thank you for sticking with this and providing such detailed feedback!!! (It's so much better than an "it's not working" post:laugh:)
I will update the readme docs for the next release accordingly!!!:clap:
Quote:
Originally Posted by
Decostyle
Hello, well it seems the PHP version is what is causing the instability.
My local host PHP version is PHP Version: 5.0.5 (Zend: 2.0.5).
The online host PHP version is PHP Version: 5.2.14 (Zend: 2.2.0)
When I installed the files online, went through the same sequence as above and everything worked just fine!
So there you have it. The current module as-is will probably only work in the higher PHP version.
Thanks!
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Hello,
I only sell downloadable files on my site. Does this work with downloadable products? The older version did...
Thanks for your help!
-
Not sure what you mean by "old" version.. v1.53 is an OLD long outdated version of Edit Orders.. It advanced to the 2.x versions LONG ago..
As I indicated this is v2.04 with a few enhancments.. The changelog tells you the ENTIRE history of Edit Orders going all the way back to ver 1.2. At some point in it's evolution sturner stopped submitting his Edit Orders updates to the Zen Cart downloads.. So while it looks like 1.53 is the last update, there have in fact been MANY updates since v1.53 all which were only available if you got Edit Orders directly from sturner's site..
Quote:
Originally Posted by
sunflowertami
Hello,
I only sell downloadable files on my site. Does this work with downloadable products? The older version did...
Thanks for your help!
Posted via Mobile Device
-
Version 3.02 of Edit Orders is now available in the downloads!!!
Version 3.02 is now available in the downloads.. If you upgrade PLEASE PLEASE PLEASE read the instructions.. We've made a few changes to better align with Ty Package Tracker v3.0 and Super Orders v3.0
Please check your host's PHP version before installing. This module will NOT work for hosting configurations using PHP versions older than 5.2.x
Change log for v3.02
- Full integration of Ty Package Tracker files
- MINOR edit to the orders.php file. Added "Details" icon and modified the "Edit" icon to correctly redirect to the Edit Orders page
- Formatting fixes so that numeric entry fields right align (taxes, prices, additional total options, etc.)*
- Modified the version numbering sequence. (No more "Rev" numbers)*
*this was inadvertently left off the change log, but IS included in v3.02
Lastly I want to ask a SMALL favor.. When posting bugs/issues it's a WHOLE LOT more helpful to resolve if you post details. Just saying "it's broken" does not provide nearly enough information to help you resolve your issue. Please provide as MUCH information as possible including the version of Zen Cart you are running, the version of the module you are running, any other add-ons you may have also installed, and hosting/server information (PHP versions, mySQL versions, etc)
Because folks like Decostyle did this we were able to establish that this module will most likely not work if you have a version of PHP older than 5.2.x running..
Anyway.. carry on.. Enjoy the new version.. We've got more enhancements coming..:smile:
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
After installing the new 3.0.2 version of Edit Orders (I was previously using an old 1.0 version), together with the latest super orders 3 add-on, I too get some of the issues mentioned in this thread.
My ZC shop is using latest 1.3.9h version, with several add-ons, and works with French and English languages installed (English = 1, French = 2).
I have the following error message :
Code:
[19-Dec-2010 22:52:47] PHP Warning: require(includes/languages/1.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in *****/web/adm/includes/init_includes/init_languages.php on line 35
[19-Dec-2010 22:52:47] PHP Warning: require(includes/languages/1.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in *****/web/adm/includes/init_includes/init_languages.php on line 35
[19-Dec-2010 22:52:47] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/1.php' (include_path='.:/opt/php/lib/php') in *****/web/adm/includes/init_includes/init_languages.php on line 35
I also noticed that icons are not displayed on the edit_orders.php page, since the link of the icons is wrong, too, as it is for example :
Code:
includes/languages/2/images/buttons/button_back.gif
where "2" should be in fact "french".
Interestingly, part of the problem can be solved by removing lines 28-30 in edit_orders.php
Code:
//Begin Add language support
//$language = (int)$_SESSION['languages_id'];
//End Add language support
Without those lines, the icons are now displayed properly, but I get another problem : If I click on "add products", I get the following error :
Code:
1054 Unknown column 'french' in 'on clause'
in:
[SELECT products_name, p.products_id, categories_name, ptc.categories_id FROM products p LEFT JOIN products_description pd ON (pd.products_id=p.products_id AND pd.language_id= french) LEFT JOIN products_to_categories ptc ON ptc.products_id=p.products_id LEFT JOIN categories_description cd ON (cd.categories_id=ptc.categories_id AND cd.language_id= french) ORDER BY categories_name]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Here, we should have in the code "2" instead of "french".
I believe that all those problems come from a bad handling of the language codes - it should be sometimes the name of the language, like "french", and sometimes the corresponding code letter, like "2" for me.
Hope this will help to advance toward a solution...
Thanks,
sanji
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
What version of PHP is your host running??
Quote:
Originally Posted by
sanji
After installing the new 3.0.2 version of Edit Orders (I was previously using an old 1.0 version), together with the latest super orders 3 add-on, I too get some of the issues mentioned in this thread.
My ZC shop is using latest 1.3.9h version, with several add-ons, and works with French and English languages installed (English = 1, French = 2).
I have the following error message :
Code:
[19-Dec-2010 22:52:47] PHP Warning: require(includes/languages/1.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in *****/web/adm/includes/init_includes/init_languages.php on line 35
[19-Dec-2010 22:52:47] PHP Warning: require(includes/languages/1.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in *****/web/adm/includes/init_includes/init_languages.php on line 35
[19-Dec-2010 22:52:47] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/1.php' (include_path='.:/opt/php/lib/php') in *****/web/adm/includes/init_includes/init_languages.php on line 35
I also noticed that icons are not displayed on the edit_orders.php page, since the link of the icons is wrong, too, as it is for example :
Code:
includes/languages/2/images/buttons/button_back.gif
where "2" should be in fact "french".
Interestingly, part of the problem can be solved by removing lines 28-30 in edit_orders.php
Code:
//Begin Add language support
//$language = (int)$_SESSION['languages_id'];
//End Add language support
Without those lines, the icons are now displayed properly, but I get another problem : If I click on "add products", I get the following error :
Code:
1054 Unknown column 'french' in 'on clause'
in:
[SELECT products_name, p.products_id, categories_name, ptc.categories_id FROM products p LEFT JOIN products_description pd ON (pd.products_id=p.products_id AND pd.language_id= french) LEFT JOIN products_to_categories ptc ON ptc.products_id=p.products_id LEFT JOIN categories_description cd ON (cd.categories_id=ptc.categories_id AND cd.language_id= french) ORDER BY categories_name]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Here, we should have in the code "2" instead of "french".
I believe that all those problems come from a bad handling of the language codes - it should be sometimes the name of the language, like "french", and sometimes the corresponding code letter, like "2" for me.
Hope this will help to advance toward a solution...
Thanks,
sanji
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
More information on your issue..
The missing language file error you are getting is as a result of 1 or BOTH of the following conditions..
- Your host is running a version of PHP prior to v5.2.x. (if you read the previous threads on this issue you would have seen that it's been confirmed that this module will generate the language error if you are running a version of PHP less than v5.2.x)
- As there are NO OTHER LANGUAGE files for Edit Orders other than english, the files needed for your default language (french) cannot be found which would ALSO lead to the error you are receiving.
Your solution is to either update your version of PHP to the supported version and if you have not already done so, create the required french language files for Edit Orders.
The first solution was tested and confirmed by Decostyle. The second I just confirmed by changing my default language to "French" without having any language files in place. When I did this I got the same error you described. Once I created a set of french language files in my test store, the error disappeared.
Hope that helps.. If you do create a set of french translation files for this module I'll be happy to include it in the next update if you care to share it.. The french files I created for my testing will not be useful for those who speak the language. They were created by duplicating all my english files/folders and adding just a few french translations (using Google Translate) to some of the table headers so I could be sure that I was indeed seeing my french language files.
Quote:
Originally Posted by
sanji
After installing the new 3.0.2 version of Edit Orders (I was previously using an old 1.0 version), together with the latest super orders 3 add-on, I too get some of the issues mentioned in this thread.
My ZC shop is using latest 1.3.9h version, with several add-ons, and works with French and English languages installed (English = 1, French = 2).
I have the following error message :
Code:
[19-Dec-2010 22:52:47] PHP Warning: require(includes/languages/1.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in *****/web/adm/includes/init_includes/init_languages.php on line 35
[19-Dec-2010 22:52:47] PHP Warning: require(includes/languages/1.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in *****/web/adm/includes/init_includes/init_languages.php on line 35
[19-Dec-2010 22:52:47] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/1.php' (include_path='.:/opt/php/lib/php') in *****/web/adm/includes/init_includes/init_languages.php on line 35
I also noticed that icons are not displayed on the edit_orders.php page, since the link of the icons is wrong, too, as it is for example :
Code:
includes/languages/2/images/buttons/button_back.gif
where "2" should be in fact "french".
Interestingly, part of the problem can be solved by removing lines 28-30 in edit_orders.php
Code:
//Begin Add language support
//$language = (int)$_SESSION['languages_id'];
//End Add language support
Without those lines, the icons are now displayed properly, but I get another problem : If I click on "add products", I get the following error :
Code:
1054 Unknown column 'french' in 'on clause'
in:
[SELECT products_name, p.products_id, categories_name, ptc.categories_id FROM products p LEFT JOIN products_description pd ON (pd.products_id=p.products_id AND pd.language_id= french) LEFT JOIN products_to_categories ptc ON ptc.products_id=p.products_id LEFT JOIN categories_description cd ON (cd.categories_id=ptc.categories_id AND cd.language_id= french) ORDER BY categories_name]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Here, we should have in the code "2" instead of "french".
I believe that all those problems come from a bad handling of the language codes - it should be sometimes the name of the language, like "french", and sometimes the corresponding code letter, like "2" for me.
Hope this will help to advance toward a solution...
Thanks,
sanji
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Screenshot of my test store with French language set as my store default is attached.. As you can see Edit Orders works just fine once I had french language files in place.. (my translations come from Google Translate so I cannot attest to their complete accuracy..)
Quote:
Originally Posted by
DivaVocals
More information on your issue..
The missing language file error you are getting is as a result of 1 or BOTH of the following conditions..
- Your host is running a version of PHP prior to v5.2.x. (if you read the previous threads on this issue you would have seen that it's been confirmed that this module will generate the language error if you are running a version of PHP less than v5.2.x)
- As there are NO OTHER LANGUAGE files for Edit Orders other than english, the files needed for your default language (french) cannot be found which would ALSO lead to the error you are receiving.
Your solution is to either update your version of PHP to the supported version and if you have not already done so, create the required french language files for Edit Orders.
The first solution was tested and confirmed by Decostyle. The second I just confirmed by changing my default language to "French" without having any language files in place. When I did this I got the same error you described. Once I created a set of french language files in my test store, the error disappeared.
Hope that helps.. If you do create a set of french translation files for this module I'll be happy to include it in the next update if you care to share it.. The french files I created for my testing will not be useful for those who speak the language. They were created by duplicating all my english files/folders and adding just a few french translations (using Google Translate) to some of the table headers so I could be sure that I was indeed seeing my french language files.
-
2 Attachment(s)
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Thanks for the feedback.
I use PHP 5.2.14 (Zend : 2.2.0), so the version is up to date.
If I am correct, there is only 1 language file in admin, which is includes/languages/english/edit_orders.php. I have put exactly the same English file in my French admin folder as includes/languages/french/edit_orders.php
When I go to edit order, I will get all the texts of this add-on in English on my French site (which is obviously correct). see the screenshot attached. Again, no image is displayed, as the link of each image is incorrect.
When I click on the "Add product" button, I get a blank page and the usual error in the cache folder, see my previous post. The link to the "Add product" page is admin/edit_orders.php?oID=4334&action=add_prdct.
However, if I add the language in the URL, namely
admin/edit_orders.php?oID=4334&action=add_prdct&language=french or
admin/edit_orders.php?oID=4334&action=add_prdct&language=english,
then the page is working properly, although there is still no image working... See second attached screenshot.
Any hint on how to solve that?
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Choosing the spanish as my language, here is my Edit Order URL:
http://mydomain . com/my_admin/edit_orders.php?page=1&oID=10&action=edit
When I add a product here is the URL:
http://mydomain . com/my_admin/edit_orders.php?page=1&oID=10&action=add_prdct
Note my URLs are different form yours.. So you are going to have to provide more details on your setup etc.. (much in the same manner that Decostyle did) I cannot reproduce this error, and there is something different about your setup than mine to produce different results...
Quote:
Originally Posted by
sanji
Thanks for the feedback.
I use PHP 5.2.14 (Zend : 2.2.0), so the version is up to date.
If I am correct, there is only 1 language file in admin, which is includes/languages/english/edit_orders.php. I have put exactly the same English file in my French admin folder as includes/languages/french/edit_orders.php
When I go to edit order, I will get all the texts of this add-on in English on my French site (which is obviously correct). see the screenshot attached. Again, no image is displayed, as the link of each image is incorrect.
When I click on the "Add product" button, I get a blank page and the usual error in the cache folder, see my previous post. The link to the "Add product" page is admin/edit_orders.php?oID=4334&action=add_prdct.
However, if I add the language in the URL, namely
admin/edit_orders.php?oID=4334&action=add_prdct&language=french or
admin/edit_orders.php?oID=4334&action=add_prdct&language=english,
then the page is working properly, although there is still no image working... See second attached screenshot.
Any hint on how to solve that?
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Apart of the "page=1" part, it seems that the URL are quite similar to me, am I wrong?
I will try to check the function that generates the URLs, I am wondering if the problem if not coming from there. Obviously, it is something related to a language function... Perhaps a variable behaving strangely.
My exact URL is http://www.sogival.com/~xxx/my_admin...tion=add_prdct so it seems quite identical to want is expected. Again, adding simply &language=french at the end makes it works.
Even more strange to me, is that once I get the blank page, the whole admin side will stop working even if I just try to go to the main page. The only way to access the site is to add &language=french or &language=english to any URL, like the one of the main page index.php?language=english. This problem happens when I am trying to edit an order both in English or in French, so it is not dependant to one of the language specifically...
Will try to research more...
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
**deleted**
Wrong images... will repost..
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Thanks.. Honestly I am baffled. This error doesn't happen to everyone. It only seems to affect certain store setups.
One person's issue was related to the version of PHP they were running on their local server.. The other person who reported this issue NEVER reported back how they resolved it (it would have been nice if they shared what they did **shrug**)
Most others are not having this issue at all.. NONE of the folks testing this prior to the release reported EVER getting this issue.. (There were four of us running this version of Edit Orders and testing it.. We tested this for several months before it was ever submitted)
So the ONLY way to get to the bottom of it is for you to provide as much information as possible about your store/hosting setup.. (Because I am nearly sure that the heart of the issue lies in something unique to your store/host setup..)
Quote:
Originally Posted by
sanji
Apart of the "page=1" part, it seems that the URL are quite similar to me, am I wrong?
I will try to check the function that generates the URLs, I am wondering if the problem if not coming from there. Obviously, it is something related to a language function... Perhaps a variable behaving strangely.
My exact URL is
http://www.sogival.com/~xxx/my_admin...tion=add_prdct so it seems quite identical to want is expected. Again, adding simply &language=french at the end makes it works.
Even more strange to me, is that once I get the blank page, the whole admin side will stop working even if I just try to go to the main page. The only way to access the site is to add &language=french or &language=english to any URL, like the one of the main page index.php?language=english. This problem happens when I am trying to edit an order both in English or in French, so it is not dependant to one of the language specifically...
Will try to research more...
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
After extensively checking my admin part, I took a fresh copy of ZC 1.3.9h + super_orders 3 + edit_orders 3 + admin levels, and started to compare this set of files with mine. I could not find anything that could be source of problem (I have other mods, including Birthday, Sales Report, Products Profit Margin, Price List, and so on, but nothing touching the core files or the important function files...
My server specs are :
OS Serveur : Linux imu172 2.6.27.35-imu-x86 #1 SMP Fri Sep 25 11:02:21 CEST 2009 i686
Base de Données : MySQL 5.0.84-log
Serveur HTTP : Apache
Version PHP : 5.2.14 (Zend : 2.2.0)
PHP Memory Limit: 64M
PHP Safe Mode: Off
PHP File Uploads: On
Max Size: 300M
POST Max Size: 300M
Database Data Size: 65,968 kB
Database Index Size: 1,449 kB
I thought for a while that this problem could be related to Super Orders 3, but apparently this is not the case. I can surf on the SO extensions without problem, but the behavior is always the same on Edit Orders :
- Once I click the button "Edit Order", I can reach the corresponding page.
- If I click on "Add product", I get the blank page corresponding to the error written in my previous posts
or
- If I click to go back on the "Main Page", I also get the blank page corresponding to the same error
What I don't get is that if URLs and picture links are transformed to "includes/languages/2/xxx" instead of "includes/languages/french/xxx", it means that at some point, in init_language.php, there is a mix between $_SESSION['language'] and $_SESSION['languages_id']. If the language part in the URLs was missing, link having "includes/languages//xxx", I would understand the issue, but I don't get why the wrong information (id instead of full text) is passed...
I spent 3 hours checking every file... so I think I will go to sleep now :(
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Check your PM's.. It's time for Plan "B" my very patient friend...:smile:
Quote:
Originally Posted by
sanji
After extensively checking my admin part, I took a fresh copy of ZC 1.3.9h + super_orders 3 + edit_orders 3 + admin levels, and started to compare this set of files with mine. I could not find anything that could be source of problem (I have other mods, including Birthday, Sales Report, Products Profit Margin, Price List, and so on, but nothing touching the core files or the important function files...
My server specs are :
OS Serveur : Linux imu172 2.6.27.35-imu-x86 #1 SMP Fri Sep 25 11:02:21 CEST 2009 i686
Base de Données : MySQL 5.0.84-log
Serveur HTTP : Apache
Version PHP : 5.2.14 (Zend : 2.2.0)
PHP Memory Limit: 64M
PHP Safe Mode: Off
PHP File Uploads: On
Max Size: 300M
POST Max Size: 300M
Database Data Size: 65,968 kB
Database Index Size: 1,449 kB
I thought for a while that this problem could be related to Super Orders 3, but apparently this is not the case. I can surf on the SO extensions without problem, but the behavior is always the same on Edit Orders :
- Once I click the button "Edit Order", I can reach the corresponding page.
- If I click on "Add product", I get the blank page corresponding to the error written in my previous posts
or
- If I click to go back on the "Main Page", I also get the blank page corresponding to the same error
What I don't get is that if URLs and picture links are transformed to "includes/languages/2/xxx" instead of "includes/languages/french/xxx", it means that at some point, in init_language.php, there is a mix between $_SESSION['language'] and $_SESSION['languages_id']. If the language part in the URLs was missing, link having "includes/languages//xxx", I would understand the issue, but I don't get why the wrong information (id instead of full text) is passed...
I spent 3 hours checking every file... so I think I will go to sleep now :(
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Wait...
I got something (I mean, apart the private messages we exchanged)...
Remove the following line in edit_orders.php
Code:
$language = (int)$_SESSION['languages_id'];
The images are back on the Edit Orders page! Plus, no more crash when you click on "Add product"...
The only bug left is an SQL error on Production Addition :
Code:
1054 Unknown column 'french' in 'on clause'
in:
[SELECT products_name, p.products_id, categories_name, ptc.categories_id FROM products p LEFT JOIN products_description pd ON (pd.products_id=p.products_id AND pd.language_id= french) LEFT JOIN products_to_categories ptc ON ptc.products_id=p.products_id LEFT JOIN categories_description cd ON (cd.categories_id=ptc.categories_id AND cd.language_id= french) ORDER BY categories_name]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Obviously, the correct term should be cd.language_id=2 (in my case), which brings 2 questions :
- why does the definition of $language cause trouble on this page (no image, wrong links, blank pages) ?
- how to pass the language id only in the SQL statements...
OK, time to go to bed again !!
sanji
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Except this problem is UNIQUE to your store.. None of us working on and testing this version ever encountered this issue..
To date one person resolved this issue (though he did not disclose how) and another resolved it by installing the module in an environment running a newer version of PHP.. (Hence why we concluded that this mod doesn't run on versions of PHP older than 5.2.x)
If I remove the same line you did from edit_orders.php in my working setup I get this error. (which is similar to the one you got)
Code:
1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') LEFT JOIN zen_products_to_categories ptc ON ptc.products_id=p.products_id LEFT' at line 1
in:
[SELECT products_name, p.products_id, categories_name, ptc.categories_id FROM zen_products p LEFT JOIN zen_products_description pd ON (pd.products_id=p.products_id AND pd.language_id= ) LEFT JOIN zen_products_to_categories ptc ON ptc.products_id=p.products_id LEFT JOIN zen_categories_description cd ON (cd.categories_id=ptc.categories_id AND cd.language_id= ) ORDER BY categories_name]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Whatever is going on with your store and this module right now seems to affect only your setup.. I am not yet convinced that the issue is with Edit Orders.
So in order to REALLY get to the bottom of this issue, we really will need to see your store files and compare them to ours so we will know what's different about your setup..
Quote:
Originally Posted by
sanji
Wait...
I got something (I mean, apart the private messages we exchanged)...
Remove the following line in edit_orders.php
Code:
$language = (int)$_SESSION['languages_id'];
The images are back on the Edit Orders page! Plus, no more crash when you click on "Add product"...
The only bug left is an SQL error on Production Addition :
Code:
1054 Unknown column 'french' in 'on clause'
in:
[SELECT products_name, p.products_id, categories_name, ptc.categories_id FROM products p LEFT JOIN products_description pd ON (pd.products_id=p.products_id AND pd.language_id= french) LEFT JOIN products_to_categories ptc ON ptc.products_id=p.products_id LEFT JOIN categories_description cd ON (cd.categories_id=ptc.categories_id AND cd.language_id= french) ORDER BY categories_name]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Obviously, the correct term should be cd.language_id=2 (in my case), which brings 2 questions :
- why does the definition of $language cause trouble on this page (no image, wrong links, blank pages) ?
- how to pass the language id only in the SQL statements...
OK, time to go to bed again !!
sanji
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Also your store is attempting to call "french" as the language ID which is OBVIOUSLY incorrect as language ID should be a numeric value..
Code:
AND pd.language_id= french
So there IS something different about your store.. I can't say what until I see your store files..
Quote:
Originally Posted by
DivaVocals
Except this problem is UNIQUE to your store.. None of us working on and testing this version ever encountered this issue..
To date one person resolved this issue (though he did not disclose how) and another resolved it by installing the module in an environment running a newer version of PHP.. (Hence why we concluded that this mod doesn't run on versions of PHP older than 5.2.x)
If I remove the same line you did from edit_orders.php in my working setup I get this error. (which is similar to the one you got)
Code:
1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') LEFT JOIN zen_products_to_categories ptc ON ptc.products_id=p.products_id LEFT' at line 1
in:
[SELECT products_name, p.products_id, categories_name, ptc.categories_id FROM zen_products p LEFT JOIN zen_products_description pd ON (pd.products_id=p.products_id AND pd.language_id= ) LEFT JOIN zen_products_to_categories ptc ON ptc.products_id=p.products_id LEFT JOIN zen_categories_description cd ON (cd.categories_id=ptc.categories_id AND cd.language_id= ) ORDER BY categories_name]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Whatever is going on with your store and this module right now seems to affect only your setup.. I am not yet convinced that the issue is with Edit Orders.
So in order to REALLY get to the bottom of this issue, we really will need to see your store files and compare them to ours so we will know what's different about your setup..
-
Can't access Admin page - HELP!!!
I have a problem. I am running 1.3.8a. I installed the latest Super Orders 3.0 and Edit Orders 3.02. Then I went to Configuration > Super Orders and set the "Edit Orders Module Switch" to "True". Next I went to Configuration > Edit Orders and set the "Super Orders Module Switch" to "True". And now I get an error when I try and load my admin page: Server error. The website encountered an error while retrieving http://simplycheese.net/store/admin***/. It may be down for maintenance or configured incorrectly.
Any ideas what I did wrong and how to fix it?
:( Gary
-
Re: Can't access Admin page - HELP!!!
Quote:
Originally Posted by
solidrock
I have a problem. I am running 1.3.8a. I installed the latest Super Orders 3.0 and Edit Orders 3.02. Then I went to Configuration > Super Orders and set the "Edit Orders Module Switch" to "True". Next I went to Configuration > Edit Orders and set the "Super Orders Module Switch" to "True". And now I get an error when I try and load my admin page: Server error. The website encountered an error while retrieving
http://simplycheese.net/store/admin***/. It may be down for maintenance or configured incorrectly.
Any ideas what I did wrong and how to fix it?
:( Gary
A coupla things.. We never tested these packages with 1.3.8. They were modified to be 1.3.9 compatible. So I'm fairly certain that part of the issue may be attributed to the differences between the two Zen Cart versions.. Aside from that, try checking if you have everything installed correctly, and if you still get errors, you will need to find the FAQ for error tracking and post what error message the error tracker turns up..
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
DivaVocals I hope you are doing ok on this find Christmas Eve. I have one problem with edit orders 3.02. I been using Ty_Package_Tracker v2.3a for a long time with no issues. When I installed edit orders I merge the files that needed merging with ty package tracker. After I installed I went to admin configuration ty package tracker and turn on edit orders. I don't have super orders installed yet, but I plan to. Now when I go to customers orders I don't see anywhere to click edit orders at all. The edit order icon is not showing at the right with the other icons. I'm not sure what happen there. I have went over these files a couple of times but I don't see any misstates. I'm not saying there is not one but I just don't see it or my brain is burn out tonight. Any help would be appreciated. Thank you
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
countrycharm
DivaVocals I hope you are doing ok on this find Christmas Eve. I have one problem with edit orders 3.02. I been using Ty_Package_Tracker v2.3a for a long time with no issues. When I installed edit orders I merge the files that needed merging with ty package tracker. After I installed I went to admin configuration ty package tracker and turn on edit orders. I don't have super orders installed yet, but I plan to. Now when I go to customers orders I don't see anywhere to click edit orders at all. The edit order icon is not showing at the right with the other icons. I'm not sure what happen there. I have went over these files a couple of times but I don't see any misstates. I'm not saying there is not one but I just don't see it or my brain is burn out tonight. Any help would be appreciated. Thank you
No problem..:smile:
Can you explain what you mean by the item I highlighted in red.. Does this mean you merged the order.php files that are in the Ty Package Tracker v3.0 fileset with the one in the Edit Orders fileset?? If so I'll double check that we didn't have some oversight between the two.. We were VERY careful to make sure that we clearly commented any required modifications to make them EASY to spot when using a file comparison program.. I'll double check that we didn't overlook something.. In addition to the "edit" icon, are you not seeing the edit buttons in the order details page when you open an order??
Also can you post a screenprint of your orders.php order list so I can see what you mean about the icons..
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Hallo, I am trying to install edit orders and I get the following error:
Code:
PHP Fatal error: Cannot redeclare zen_get_country_id() (previously declared in xxx/admin/includes/functions/extra_functions/edit_orders.php:34) in xxx/admin/includes/functions/extra_functions/edit_orders_functions.php on line 44
:frusty:
Kind regards,
orange_juice
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
orange_juice
Hallo, I am trying to install edit orders and I get the following error:
Code:
PHP Fatal error: Cannot redeclare zen_get_country_id() (previously declared in xxx/admin/includes/functions/extra_functions/edit_orders.php:34) in xxx/admin/includes/functions/extra_functions/edit_orders_functions.php on line 44
:frusty:
Kind regards,
orange_juice
OK ... admin/includes/functions/extra_functions/edit_orders.php is a file that has to be deleted since it is remaining from the previous version of Edit ORders.
:smile:
Merry Christmas!
Kind regards,
orange_juice
-
1 Attachment(s)
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
DivaVocals
No problem..:smile:
Can you explain what you mean by the item I highlighted in red.. Does this mean you merged the order.php files that are in the Ty Package Tracker v3.0 fileset with the one in the Edit Orders fileset?? If so I'll double check that we didn't have some oversight between the two.. We were VERY careful to make sure that we clearly commented any required modifications to make them EASY to spot when using a file comparison program.. I'll double check that we didn't overlook something.. In addition to the "edit" icon, are you not seeing the edit buttons in the order details page when you open an order??
Also can you post a screenprint of your orders.php order list so I can see what you mean about the icons..
That is correct I merge the order.php file that is with the Ty Package Tracker v3.0 fileset with the one in the Edit Orders fileset.
In addition to the "edit" icon, are you not seeing the edit buttons in the order details page when you open an order??
No I don't see any edit button except the one at the top of the page.
Here the screen shot of the order list.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
orange_juice
OK ... admin/includes/functions/extra_functions/edit_orders.php is a file that has to be deleted since it is remaining from the previous version of Edit ORders.
:smile:
Merry Christmas!
Kind regards,
orange_juice
Glad you got it worked out..:smile:
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
countrycharm
That is correct I merge the order.php file that is with the Ty Package Tracker v3.0 fileset with the one in the Edit Orders fileset.
In addition to the "edit" icon, are you not seeing the edit buttons in the order details page when you open an order??
No I don't see any edit button except the one at the top of the page.
Here the screen shot of the order list.
I'm not sure what happened.. It looks like you still have edits in place for the v2.3 of Ty Package tracker still in place.. If you are using Ty Package Tracker v3.0, try merging the orders.php from the Ty Package with the one from Edit Orders v3.0 and replace your orders.php in it's entirety.. see if you get a different result.. You should have one edit icon and two edit buttons from the orders.php list view, and one edit button in the orders.php detail view (at the bottom near the invoice and packingslip buttons)..
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Hi Guys,
Had a look through but my eyes can't seem to find it.
Using 1.3.9g
PHP 5.2.14
Installed SO 3.0 no problems, Ty Tracker no problems.
But with Edit Orders 3.02 & 3.01a the issue I have is that the order totals are not correct. Either through creating an order or editing an existing order the order total does not include tax. The Sub total does not equal the Total (incl).
There are no issues with total when customers process orders via direct deposit banking or via CC using Migs Payment module.
See image for this issue
http://i579.photobucket.com/albums/s...EditOrders.jpg
Thanks
Damien.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Creating orders???? How are you "creating" orders with Edit Orders?? Are you using Admin Simple Create Orders with this version of Edit Orders??
Quote:
Originally Posted by
UltraLtd
But with Edit Orders 3.02 & 3.01a the issue I have is that the order totals are not correct. Either through creating an order or editing an existing order the order total does not include tax. The Sub total does not equal the Total (incl).
There are no issues with total when customers process orders via direct deposit banking or via CC using Migs Payment module.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Yes sorry must be using that mod which was installed previously for fore SO Ty Tracker and Edit orders.
I use this for phone and email orders.
Thanks
Damien.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
UltraLtd
Yes sorry must be using that mod which was installed previously for fore SO Ty Tracker and Edit orders.
I use this for phone and email orders.
Thanks
Damien.
Just as I suspected.. Okay a coupla things..
- Though Admin Simple Create Orders uses Edit Orders as part of it's workflow, I will be providing NO SUPPORT in THIS support thread for Admin Simple Create Orders. I believe Admin Simple Create Orders is a poorly written module in it's current state.. IMHO, MOST of the issues with that mod are caused by that mod, and I will not address any of them here. You will need to post your issues with Admin Simple Create Orders in the support thread for Admin Simple Create Orders.
(don't expect much of a response.. The mod author has demonstrated no interest in updating this module and even if he did, it's UNLIKELY that he will share his updates by submitting them to the downloads section -- as he SHOULD) Sorry.. - For orders received through the store and NOT "created" using Admin Simple Create Orders, there is absolutely no problem with taxes in this version of Edit Orders.
- Suggest you read through my last posts in the Admin Create Simple Orders support thread. There are better ways to generate manual orders..
Good luck..
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Please see attached image which illustrates item 2 from my previous post.
Quote:
Originally Posted by
DivaVocals
For orders received through the store and NOT "created" using Admin Simple Create Orders, there is absolutely no problem with taxes in this version of Edit Orders.
Quote:
Originally Posted by
UltraLtd
Yes sorry must be using that mod which was installed previously for fore SO Ty Tracker and Edit orders.
I use this for phone and email orders.
Your issue is caused by an error in Admin Simple Create Orders.. This is NOT an Edit Orders issue and any further discussion on the matter should be conducted on the support thread for the Admin Simple Create Orders module..
Good luck, I wish I could be of more assistance here....
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Thanks for the quick replies.
Point noted about the Admin Simple Create Orders issue. Loks like the best method to overcome this is using COWOA mod.
Also I still get the same problem when updating an order created from the store side in relation to the totals not showing correctly. Is this likely to be because of the fact that Create Orders mod has not been removed?
Totals are still showing ex tax prices in the totals and not subtotal inc tax.
Thanks
Damien.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Not sure.. Could be your tax setup is not correct.. But as you can from my previously posted example (see my previous post), there is no problem with this mod displaying or editing taxes captured in a store generated order.. I've also attached a copy of what the taxes looks like from the order details side..
Quote:
Originally Posted by
UltraLtd
Thanks for the quick replies.
Point noted about the Admin Simple Create Orders issue. Loks like the best method to overcome this is using COWOA mod.
Also I still get the same problem when updating an order created from the store side in relation to the totals not showing correctly. Is this likely to be because of the fact that Create Orders mod has not been removed?
Totals are still showing ex tax prices in the totals and not subtotal inc tax.
Thanks
Damien.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
DivaVocals
I'm not sure what happened.. It looks like you still have edits in place for the v2.3 of Ty Package tracker still in place.. If you are using Ty Package Tracker v3.0, try merging the orders.php from the Ty Package with the one from Edit Orders v3.0 and replace your orders.php in it's entirety.. see if you get a different result.. You should have one edit icon and two edit buttons from the orders.php list view, and one edit button in the orders.php detail view (at the bottom near the invoice and packingslip buttons)..
DivaVocals I don't know what going on. I have compared the order.php files until my eyes hurts....lol. I have went through all these files with edit order and ty package 3.0. I couldn't get the ty package 3.0 to work for some strange reason so I went back to v2.3., but I'm still unable to get the edit icon and two edit buttons from the orders.php list view, and one edit button in the orders.php detail view (at the bottom near the invoice and packingslip buttons) to show. I must be doing something wrong but for the life of me I couldn't tell you what. I am pretty good when it comes to installing modules but this one has me stump. I will take a look at it tomorrow again to see what I see new:yes:
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
countrycharm
DivaVocals I don't know what going on. I have compared the order.php files until my eyes hurts....lol. I have went through all these files with edit order and ty package 3.0. I couldn't get the ty package 3.0 to work for some strange reason so I went back to v2.3., but I'm still unable to get the edit icon and two edit buttons from the orders.php list view, and one edit button in the orders.php detail view (at the bottom near the invoice and packingslip buttons) to show. I must be doing something wrong but for the life of me I couldn't tell you what. I am pretty good when it comes to installing modules but this one has me stump. I will take a look at it tomorrow again to see what I see new:yes:
Well I double checked again and the edits/merges between the orders.php files that comes with Ty Package Tracker and Edit Orders are pretty straightforward. Not sure what's going on with your merges.. I've got some time for a change to spare.. I'll be happy to take a look if you wanna post your orders.php file here..
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
DivaVocals
Well I double checked again and the edits/merges between the orders.php files that comes with Ty Package Tracker and Edit Orders are pretty straightforward. Not sure what's going on with your merges.. I've got some time for a change to spare.. I'll be happy to take a look if you wanna post your orders.php file here..
In the admin/order.php file it has not been modified except trying to install edit orders. I use the order.php file from the edit order module by it self to see if that was the problem. Still the same thing. edit Icons are not showing to update the order. If you want to take a peek at my server your welcome to. Let me know.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
countrycharm
In the admin/order.php file it has not been modified except trying to install edit orders. I use the order.php file from the edit order module by it self to see if that was the problem. Still the same thing. edit Icons are not showing to update the order. If you want to take a peek at my server your welcome to. Let me know.
Here is the admin/order.php file I would be using. You can download it from here. Thanks for checking it out.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
DivaVocals
Not sure.. Could be your tax setup is not correct.. But as you can from my previously posted example (see my previous post), there is no problem with this mod displaying or editing taxes captured in a store generated order. I've also attached a copy of what the taxes looks like from the order details side..
No issues with the tax that I am aware of. Simple 10%.
I think I am getting confused with the totals display or the edit orders isn't consistent with SO/store orders in that when edit orders is used it only shows a tax and unit price. Is there the possibility it could show tax, price ex tax and price inc tax. Then the Sub-Total is taken from the tax inc price.
The other issue I see is that when shipping comes across from a store order it also includes the tax value in the sub-totals area then a tax value is shown. The issue I see with this is that in the one column you have differing values being shown.
The Sub Total displays the tax incl price (which IMHO appears better as the Sub-Total is under the Total (incl) column)when an order is sent through via the store.
After the order has been edited the SubTotal then displays the ex tax price.
This then carries through to an invoice.
I hope this makes sense and thanks for your help.
Damien.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Though I think I understand what it is you are saying, can you post screenshots so it is CRYSTAL clear exactly what it is you are attempting to explain here..:smile: It will be easier for me to see what you are speaking of if I can see what you see..
Quote:
Originally Posted by
UltraLtd
No issues with the tax that I am aware of. Simple 10%.
I think I am getting confused with the totals display or the edit orders isn't consistent with SO/store orders in that when edit orders is used it only shows a tax and unit price. Is there the possibility it could show tax, price ex tax and price inc tax. Then the Sub-Total is taken from the tax inc price.
The other issue I see is that when shipping comes across from a store order it also includes the tax value in the sub-totals area then a tax value is shown. The issue I see with this is that in the one column you have differing values being shown.
The Sub Total displays the tax incl price (which IMHO appears better as the Sub-Total is under the Total (incl) column)when an order is sent through via the store.
After the order has been edited the SubTotal then displays the ex tax price.
This then carries through to an invoice.
I hope this makes sense and thanks for your help.
Damien.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
countrycharm
Here is the admin/order.php file I would be using. You can download it from
here. Thanks for checking it out.
Well I compared this directly to my test store file to see if anything jumped out.. Nothing did.. A few minor thngs, but they are changes I am making as part of a planned minor release, an they would not explain the issue you are reporting.. I attached the file here..
If this doesn't make a difference, PM me your store FTP info.. I'd like to take a look.. (I promise not to TOUCH anything!!:smile: Just wanna take a peek..)
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
DivaVocals
Well I compared this directly to my test store file to see if anything jumped out.. Nothing did.. A few minor thngs, but they are changes I am making as part of a planned minor release, an they would not explain the issue you are reporting.. I attached the file here..
If this doesn't make a difference, PM me your store FTP info.. I'd like to take a look.. (I promise not to TOUCH anything!!:smile: Just wanna take a peek..)
Hi DivaVocals, I just wanted you to know that I fixed the issue with both modules. Ty Package 3.0 and Edit order 3.02. The reason the edit icon and two edit buttons from the orders.php list view, and one edit button in the orders.php detail view (at the bottom near the invoice and packingslip buttons) did not show was because in ty package 2.3a in the read me file there is an optional change you could make for the /includes/filenames.php. These optional changes would make navigating more convenient. I needed to roll back the filenames.php file to it's original state before ty package 3.0 and edit order 3.02 started working like it should. The changes I rolled back from are down below. You might want to add this to the read me for Ty Package 3.0. Thank you for all your help.
Optional: (These changes are optional and not required for the mod to work. These optional change will make navigating more convenient.)
/includes/filenames.php (1 optional changes)
---------------------------------------------------------------------------------
Change #1: (highly recommended - Making this change will allow your customer to track packages from the "My account" Page.)
define('FILENAME_ACCOUNT_HISTORY_INFO', 'account_history_info'); to
define('FILENAME_ACCOUNT_HISTORY_INFO', 'tracker');
---------------------------------------------------------------------------------
Change #2: (recommended - Making this change will allow you to access tracker page instead of the using the default order page.)
define('FILENAME_ORDERS', 'orders');
to
define('FILENAME_ORDERS', 'tracker');
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
CRAP!!! did I forget to include this in the readme file for Ty Package Tracker????
Duly noted.. Will update the readme file accordingly.. Thanks for posting this.. I think I missed this because I never made these optional changes at all when testing out the old version of Ty Package Tracker.. I will post this in the Ty Package Tracker support thread too..
Quote:
Originally Posted by
countrycharm
Hi DivaVocals, I just wanted you to know that I fixed the issue with both modules. Ty Package 3.0 and Edit order 3.02. The reason the edit icon and two edit buttons from the orders.php list view, and one edit button in the orders.php detail view (at the bottom near the invoice and packingslip buttons) did not show was because in ty package 2.3a in the read me file there is an optional change you could make for the /includes/filenames.php. These optional changes would make navigating more convenient. I needed to roll back the filenames.php file to it's original state before ty package 3.0 and edit order 3.02 started working like it should. The changes I rolled back from are down below. You might want to add this to the read me for Ty Package 3.0. Thank you for all your help.
Optional: (These changes are optional and not required for the mod to work. These optional change will make navigating more convenient.)
/includes/filenames.php (1 optional changes)
---------------------------------------------------------------------------------
Change #1: (highly recommended - Making this change will allow your customer to track packages from the "My account" Page.)
define('FILENAME_ACCOUNT_HISTORY_INFO', 'account_history_info'); to
define('FILENAME_ACCOUNT_HISTORY_INFO', 'tracker');
---------------------------------------------------------------------------------
Change #2: (recommended - Making this change will allow you to access tracker page instead of the using the default order page.)
define('FILENAME_ORDERS', 'orders');
to
define('FILENAME_ORDERS', 'tracker');
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
DivaVocals
CRAP!!! did I forget to include this in the readme file for Ty Package Tracker????
Duly noted.. Will update the readme file accordingly.. Thanks for posting this.. I think I missed this because I never made these optional changes at all when testing out the old version of Ty Package Tracker.. I will post this in the Ty Package Tracker support thread too..
Glad I could be assistance. I knew if I kept digging I would find the answer to why it was not showing up. Sometimes over looking little things causes big things to happen. Whew.........Mystery solved.:yes:
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
countrycharm
Glad I could be assistance. I knew if I kept digging I would find the answer to why it was not showing up. Sometimes over looking little things causes big things to happen. Whew.........Mystery solved.:yes:
Thanks for your help in tracking this down.. I appreciate it! :yes:
I've posted this information in the Ty Package Tracker support thread, and I will update the readme file for Ty Package Tracker accordingly..
-
Confirmation email for customer and admin after editing
Hi All,
This is a truly fantastic addon.
Thank you to those involved in creating and maintaining it. Will definitely be making a contribution.
I am using it to edit orders and allow the zen cart shop to process telephonic/email orders now.
I have one problem though. Once I have edit and updated the order, I would like to resend the order through to the client automatically and to admin (as it originally does when placing a new order).
I think it is important that the customer gets a new invoice via a new order confirmation, so that he can review and knows that the order has been updated.
Also, since some of my stores are drop-shipping in different locations, I'd like the order resent to the admin also (as per the original order also).
Is it possible to achieve this?
Thanks,
Deansta
-
Re: Confirmation email for customer and admin after editing
Glad you like it..:smile:
You can always use the "add order comments" feature to send your customers an order update.. (Works JUST like the add comments feature n orders.php or super_orders.php..) This will send an e-mail to your customer with your comments along with a link to the order that will allow them to login to the "My Account" section of the store and view the order.
The admin does not get copied on the order update e-mail. We kept this mod in line with how the orders.php/super_orders.php functionality works to maintain a level of consistency throughout the admin. Especially since the PRIMARY function of this mod is not as an "order creation" module (though it can very easily support a manual/phone order process -- and not a manual/phone order process which uses this mod with the create_orders.php from the Admin Simple Create Orders)
That said I'm sure routing to order update e-mails to the admin can be achieved, but there are no plans at the moment to add this functionality to Edit Orders..
You might want to also look at the Email Archive Manager add-on.. It might add some of the functionality you are seeking..
Quote:
Originally Posted by
Deansta
Hi All,
This is a truly fantastic addon.
Thank you to those involved in creating and maintaining it. Will definitely be making a contribution.
I am using it to edit orders and allow the zen cart shop to process telephonic/email orders now.
I have one problem though. Once I have edit and updated the order, I would like to resend the order through to the client automatically and to admin (as it originally does when placing a new order).
I think it is important that the customer gets a new invoice via a new order confirmation, so that he can review and knows that the order has been updated.
Also, since some of my stores are drop-shipping in different locations, I'd like the order resent to the admin also (as per the original order also).
Is it possible to achieve this?
Thanks,
Deansta
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Hi Diva,
I'm really excited about using this mod and super excited about installing and using Super Orders. But before I install Super Orders, I need to make sure Edit Orders is working fine (per the Super Order install instructions).
I've read this entire thread, but nobody's problem is exactly like mine (although very similar to the person with the french language files).
I hope you can help. Here's what's happening:
- ZC 139h
- PHP 5.2.15
- Only using English language
- Confirmed language in localization is set to English.
Admin Mods:
- Add Customers From Admin V1.01
- Edit Orders V1.53 (uninstalled prior to installing 3.02)
- Monthly Sales Tax Report V1.0
- Captcha Add Number (version unknown)
- EZ Pages Meta Fields V1.0
Installation steps for Edit Orders 3.02:
- Uninstalled a 1.53 version of edit order by deleting the files (including admin/orders.php) and then uploading admin/orders.php from the 139h fileset.
- Confirmed all was well in customers>>orders
- Renamed the admin folder in 1_Install_Files and 2_Required_Core_Edits to match my admin folder on my server
- Uploaded the renamed folders and the files they contained to my store directory using FileZilla
- Opened the edit_orders_install.sql file with notepad and copied it.
- Logged in to my store admin. Went to Tools>>Install SQL Patches & pasted the copy.
- Results: 9 statements added. No errors.
- Went to Customers>>Orders
- Clicked on "edit".
Issue:
- On Order Edit Page, missing these buttons:
- Back (upper right corner shows broken link icon instead of button)
- Display Order Details (upper right corner shows broken link icon instead of button)
- Update (lower left corner beneath the Notify Customer section)
- If any of these are clicked, the resulting error occurs:
PHP Code:
[29-Dec-2010 15:36:06] PHP Warning: require(includes/languages/1.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /public_html/MY_STORE/MY_ADMIN/includes/init_includes/init_languages.php on line 35
[29-Dec-2010 15:36:06] PHP Warning: require(includes/languages/1.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /public_html/MY_STORE/MY_ADMIN/includes/init_includes/init_languages.php on line 35
[29-Dec-2010 15:36:06] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening
required 'includes/languages/1.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /public_html/MY_STORE/MY_ADMIN/includes/init_includes/init_languages.php on line 35
Since this file does not exist on my server or in my 139h fileset, I tried renaming a copy of the includes/languages/english.php file to 1.php and upload it to includes/languages.
Result:
Same as before
Next Steps:
- Uninstalled Using the edit_orders_uninstall.sql and deleting files, replacing admin/orders.php with original from 139h fileset.
- Re-downloaded the edit orders 3.02 fileset in case original download was corrupted. Unzipped and followed same steps as above.
- Got same results.
Any ideas?
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Hi ScriptJunkie,
I get the same problem as you do... Still searching the cause... Check the first messages of this thread.
sanji
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Hi Sanji,
Yes, I read all your research with great interest, but I think where our circumstances differ is with the language files and the additional mods installed. I don't have/use a french language file and I haven't yet installed Super Orders. Yet we seem to be affected in the same way. Interesting :)
My big questions are:
1. Why is it looking for a file that doesn't exist in the 139h file set (1.php)?
2. Should that file exist if the cart is only using English?
3. Where can one get that file from? (Since renaming a copy of the English.php file doesn't resolve the issue).
4. Would that even resolve the "issue"?
I suspect there's something else going on entirely that is triggering this language file error business. I just don't have a clue what it is. It certainly seems evident that (so far), it's unique only to you and I....so aside from the language file and mod differences, it must be some other commonality in our store configurations.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Quote:
Originally Posted by
ScriptJunkie
Hi Sanji,
Yes, I read all your research with great interest, but I think where our circumstances differ is with the language files and the additional mods installed. I don't have/use a french language file and I haven't yet installed Super Orders. Yet we seem to be affected in the same way. Interesting :)
My big questions are:
1. Why is it looking for a file that doesn't exist in the 139h file set (1.php)?
2. Should that file exist if the cart is only using English?
3. Where can one get that file from? (Since renaming a copy of the English.php file doesn't resolve the issue).
4. Would that even resolve the "issue"?
I suspect there's something else going on entirely that is triggering this language file error business. I just don't have a clue what it is. It certainly seems evident that (so far), it's unique only to you and I....so aside from the language file and mod differences, it must be some other commonality in our store configurations.
At this point it is kinda useless to keep lobbing guesses at a problem that neither I nor anyone testing this module before it's release can replicate.. I need to see someone's store where this behavior is ocurring.. I made this SAME offer to sanji, but he's opted to keep picking at this himself..
So I will make the same offer to you.. I will send you a PM with what I need access to in order to get to the bottom of your issue.. (and I agree it's likely that it's NOT the same thing that is happening to sanji) I will state again that I am not entirely convinced that this is an Edit Order issue as others are using it with no problems whatsoever.. But in order to confirm or deny this I need to see someone's store where this behavior is ocurring.. I cannot BEGIN to guess what's different until I see it for myself..
Now is a good time to do this as I work a full time job and normally do not have lots of spare time for this level of troubleshooting.. So while I am working holiday light hours I have a small amount of bandwidth to look at this.. New Year's Eve is my birthday so if there is a time to do this it's today or tomorrow.. check your PMs.. I want to get to the bottom of this, but someone is going to have to let me take a peek under the hood...
NOW.. Who wants to volunteer????
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
BTW.. is this instance of Edit Orders running on a local server??
Is it a WINDOWS server???
Quote:
Originally Posted by
ScriptJunkie
Hi Sanji,
Yes, I read all your research with great interest, but I think where our circumstances differ is with the language files and the additional mods installed. I don't have/use a french language file and I haven't yet installed Super Orders. Yet we seem to be affected in the same way. Interesting :)
My big questions are:
1. Why is it looking for a file that doesn't exist in the 139h file set (1.php)?
2. Should that file exist if the cart is only using English?
3. Where can one get that file from? (Since renaming a copy of the English.php file doesn't resolve the issue).
4. Would that even resolve the "issue"?
I suspect there's something else going on entirely that is triggering this language file error business. I just don't have a clue what it is. It certainly seems evident that (so far), it's unique only to you and I....so aside from the language file and mod differences, it must be some other commonality in our store configurations.
-
Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread
Hi Diva,
I'd be thrilled to let you take a look. I will check the PM and send you what you need in the next few minutes.
This install is on a linux server.
Thanks for your help and happy early birthday!! :clap: