-
Posts
494 -
Joined
-
Last visited
Profile Information
-
Real Name
Alex
-
Location
London, UK
- Website
Recent Profile Visitors
21,667 profile views
mr_absinthe's Achievements
-
Will do
-
Thank you again Jack for pointing me the right direction, after applying Gary's fix, there are no errors when updating currencies via admin, however still the same errors when running a cron and auto_update_currencies.php file. I guess that the file has to be also changed according to Gary's fix... Is it enough to change this? from: define('CURRENCY_SERVER_PRIMARY', 'oanda'); to: define('CURRENCY_SERVER_PRIMARY', 'fixer'); most likely not, because currency update report is received by email with text Currencies for store updated on Tue Dec 13 8:56:56 2016, however when looking in admin, they are not updated (date doesn't match).
-
Thanks Jack :thumbsup:
-
Hi, I'm now getting the following error, any ideas please? Warning: file_get_contents(http://www.xe.net/ucc/convert.cgi?Amount=1&From=GBP&To=EUR) [ function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in /hosting/www/site.com/www/admin/includes/functions/localization.php on line 25 Warning: file_get_contents(http://www.oanda.com/convert/fxdaily?value=1&redirected=1&exch=EUR&format=CSV&dest=Get+Table&sel_list=GBP) [ function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /hosting/www/site.com/www/admin/includes/functions/localization.php on line 14 Currencies are not being updated.
-
Hi Jack, I see this at the top of admin/database_optimizer.php TEXT_VERSION_CHECK_UPDATES_UNRELEASEDDatabase Optimizer V 1.5 is the latest version
-
No, I've double checked the setting, confirmation page is not listed there.
-
I've installed the add on, however the alt price is not being displayed on checkout confirmation, where it is most needed. There is a new heading now but no currency. Any ideas please? The changed code is as follows: <tr> <td class="main" colspan="2"><?php echo '<b>' . HEADING_PRODUCTS . '</b> <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> <td class="smallText" align="right"><b><?php echo HEADING_TAX; ?></b></td> <td class="smallText" align="right"><b><?php echo HEADING_TOTAL; ?></b></td> </tr> <?php } else { ?> <tr> <?php /***** Begin Second Currency *****/ ?> <td class="main" colspan="3"><?php echo '<b>' . HEADING_PRODUCTS . '</b> <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> <?php if (tep_not_null($currency_alt) && $currency_alt != $currency) { ?> <td class="main" align="right"><?php echo '<b>' . HEADING_CURRENCIES . ' ' . $currency_alt . ' (' . $currency . ')</b>'; ?></td> <?php } else { ?> <td class="main" align="right"><?php echo '<b>' . HEADING_CURRENCY . ' ' . $currency . '</b>'; ?></td> <?php } ?> <?php /***** End Second Currency *****/ ?> </tr>
-
I just want to share, the error is gone, therefore it was most likely caused by the error mentioned above. However the cron simulator does nothing... I tested on googlefeeder.php and no file was called, no file was created or uploaded.
-
Could it be caused by missing ?> at the end of admin/includes/modules/cron_simulator.php file? I don't know... it is working at the moment...
-
Hi, this is now getting exhausting... it worked for 24 hours only... One day later, I'm again unable to access admin due to this fatal error: Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/user/public_html/Admin/includes/functions/database.php:13) in /home/user/public_html/includes/functions/database.php on line 19 No need to mention that all works fine if remove cron simulator from admin's index.php file.
-
Thank you for your swift reply, I'll test it and reposrt back if the cron simulator is going to work.
-
I've corrected all those errors listed in this thread, however as soon as cron_simulator is icluded on index.php - require(DIR_WS_MODULES . 'cron_simulator.php');, I've got this error: Fatal error: Cannot redeclare do_magic_quotes_gpc() (previously declared in /home/user/public_html/Admin/includes/functions/compatibility.php:18) in /home/user/public_html/includes/functions/compatibility.php on line 30 I've double checked that both compatibility.php files in admin as well as in catalog contain correct code function do_magic_quotes_gpc(&$ar) { if (!is_array($ar)) return false; reset($ar); while (list($key, $value) = each($ar)) { if (is_array($ar[$key])) { do_magic_quotes_gpc($ar[$key]); } else { $ar[$key] = addslashes($value); } } reset($ar); }
-
Automatically send data feed to Froogle
mr_absinthe replied to gottaloveit's topic in General Support
@@Bob Terveuren thank you, it will be most likely my only option, if it is going to work obviously @@clustersolutions to set up and run a cron job, I'm using cPanel GUI, tested your command above (replaced myusername obviously) and it does nothing, no file, no message, no ftp, nothing I have to say, I have never experienced so much hassle with a cron job and I have about 20 of them running just fine. Why is this script failing...? No idea. Thank you for trying to help, much appreciated. -
What I did to make v1.7 work again, I used googlesitema/index.php file from v1.8 no idea why it is no longer working with that file from v1.7
-
This is really strange, I'm unable to revert back to v 1.7 as I'm getting these: [file] => /sitemapcategories.xml [status] => failure [file_exists] => false File permissions are OK, it is working with the new version and before I tried the new version it was also working fine with the previous version... Any idea how to cure it? I have also tried to add the following code just before this line $this->savepath = DIR_FS_CATALOG; so it looks like: if (($pos = strpos(DIR_FS_CATALOG, "googlesitemap")) !== FALSE) { //fix for when path is gotten by dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME' $pos = strlen("googlesitemap"); //it includes the google sitemap directory so remove it $this->savepath = substr(DIR_FS_CATALOG, 0, - $pos - 1); //not returning right above - quick fix for now $this->savepath .= (substr($this->savepath, -1) !== '/') ? '/' : ''; //append a slash if needed } else { $this->savepath = DIR_FS_CATALOG . (substr(DIR_FS_CATALOG, -1) !== '/') ? '/' : ''; } $this->savepath = DIR_FS_CATALOG; It did not help...