Thanks
Found it in Edit_Orders v3.0 rev1a
http://www.zen-cart.com/index.php?ma...oducts_id=1818
Cheers
Thanks
Found it in Edit_Orders v3.0 rev1a
http://www.zen-cart.com/index.php?ma...oducts_id=1818
Cheers
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:
I have been looking into the file init_languages.phpCode:[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
See the red code.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(); }
Can you help me please ?
Thank you.
BTW I merged all files properly and copy all folders as it should be.
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)
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
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.
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:
It look like I did not merge properly my files, but I did try this so many time.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
I have not really clue what to do.
Thank you for any advice.
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??
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Well 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 ...
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.
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 CLEARinstructions 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..
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
after i adding products am pressing update button it shows blank page, am using 1.3.9h.... help me anybody... thanks in advance.....