Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by ecartz

  1. The ceid won't show up until you visit a page in the osC install. So if your landing page does not include includes/application_top.php, it won't start the session nor add the session ID to URLs/cookies. So it may just work. For example, if the landing page is a pure HTML page. If your landing page needs to include includes/application_top.php from the osC install, then I think that we need more about what you are trying to do. Please explain the flow. E.g. a possible flow would be 1. Pure HTML landing page or a PHP landing page that does not include includes/application_top.php. 2. Link to the osC create_account.php page. 3. Submit normally. The ceid would show on steps 2 and 3 but not on step 1. This is an example flow that would just work. It's possible that it might start a different session if you use a PHP landing page -- I don't do much PHP outside osC and forget how automatic that is. If you use a pure HTML landing page, it definitely won't start a PHP session. You may or may not want to explain more about what the landing page does as well. Because I'm having trouble following the purpose.
  2. There's one right here: https://wordpress.com/ No login integration but that's not really necessary for this purpose.
  3. ecartz

    Auto Update Currencies

    Debugging a similar error: https://stackoverflow.com/questions/15835274/php-file-get-contents-failed-to-open-stream-connection-refused More results at https://www.google.com/search?q=PHP+Warning%3A++file()%3A+failed+to+open+stream%3A+Connection+refused+in
  4. If you want to try something before Rainer has a chance to look at it, consider changing if ($this->enabled == true) { to if ($this->enabled && !defined('DIR_FS_ADMIN')) { or if ($this->enabled && isset($_SESSION['cart'])) { Either of those should fix installing. So at least you could test more interesting things. Of course, there's some risk that this will break something else. So you could wait for Rainer to look into it.
  5. Note that CHARSET is still in the latest Phoenix: https://github.com/gburton/CE-Phoenix/blob/master/includes/languages/english.php#L34 It's almost certainly also present in the default Frozen. Perhaps you edited it out but need to put it back?
  6. ecartz

    Store Search Bar (BS)

    This suggests that there is something missing from your App install. As that isn't a core function. And includes/modules/content/header/cm_header_store_search.php isn't a core file. Note that tep_navbar_store_search is in that file. So presumably you broke something in one of your edits to that file. This isn't something that could be broken by folder structure changes, as it is in the same file.
  7. Phoenix is the successor to Edge. Either or could be considered successors for Frozen. There is at least one discussion in the Phoenix Club about migrating customers and products from an older store.
  8. ecartz

    Paypal Module Express Checkout Error

    This says that you have display_errors turned on. You can add ini_set('display_errors', '0'); to includes/configure.php to turn it off. Or turn it off in your hosting account if they allow you to do that. You should not have display_errors turned on in your live store. The warning and notices will be fixed in the release.
  9. ecartz

    ULTIMATE Seo Urls 5 - by FWR Media

    The language class may have been moved, but it is unlikely it was removed. If that were the one and only problem, it could presumably be fixed if you explained what the actual problem was. If it's that there is code that you used to add immediately after the language code, then you can just move it into the i() function. Change if ( !self::$_singleton instanceof Usu_Main ) { self::$_singleton = new self; } to if ( !self::$_singleton instanceof Usu_Main ) { self::$_singleton = new self(); global $lng; self::$_singleton->setVar( 'languages_id', $_SESSION['languages_id'] ) ->setVar( 'request_type', $GLOBALS['request_type'] ) ->setVar( 'session_started', $GLOBALS['session_started'] ) ->setVar( 'sid', $GLOBALS['SID'] ) ->setVar( 'language', $_SESSION['language'] ) ->setVar( 'filename', $GLOBALS['PHP_SELF'] ) ->initiate( ( isset( $lng ) && ( $lng instanceof language ) ) ? $lng : [], $_SESSION['languages_id'], $_SESSION['language'] ); } And you can add the other change to includes/classes/application.php -- find $_SESSION['navigation']->add_current_page(); and add after it if (USU5_MULTI_LANGUAGE_SEO_SUPPORT == 'true') { include_once 'includes/modules/ultimate_seo_urls5/includes/hreflang.php'; global $lng; $GLOBALS['usu5_multi'] = new FWR_hreflang( $_SESSION['navigation'], $_SESSION['language'], (isset( $lng ) && ( $lng instanceof language ) ) ? $lng : [], $GLOBALS['session_started'] ); } That's not the ideal solution, but it should get you around your immediate problem. A better solution would rename the file and/or class so that the autoloader would load it (no more include_once). And create a no-arg factory method for it that could be called from a hook. Then you wouldn't need to make a core edit. But if the only thing keeping you from using this App is that you can't find the code to edit in application_top.php, there it is. Presumably something like this is part of what piernas needs to test.
  10. ecartz

    Error With Checkout Paypal

    To fix this, turn off display_errors in the PHP configuration. Then the notices will not be displayed on the screen and won't break redirects. I do not know why you are getting these notices though. It seems to be saying that no payment module has been selected.
  11. ecartz

    Conexion a la base de datos

    includes/configure.php But maybe you want https://apps.oscommerce.com/VJEMI&wholesale-sppc-lite-phoenix ?
  12. ecartz

    Payments by credit card stopped working on Friday

    PayPal ships with Phoenix. The certificate file is at https://github.com/gburton/CE-Phoenix/blob/master/ext/modules/payment/paypal/paypal.com.crt or just download the distribution.
  13. ecartz

    Stripe SCA module installation error

    That sounds like you are using a very old version of PHP. 5.3 maybe? If you can't update PHP, perhaps try an older version of Stripe SCA. You could try replacing the [ on that line with array( and the ] with ). Not sure how many times you'd have to do that in the file though.
  14. ecartz

    Checkout problem

    There is a forum for PayPal questions: https://forums.oscommerce.com/forum/54-paypal/ There are several recent topics that say that PayPal made a change that requires an updated certificate. If you made no coding changes and it just stopped working, that seems the most likely explanation. The up-to-date version is at https://github.com/gburton/CE-Phoenix/blob/master/ext/modules/payment/paypal/paypal.com.crt If that is not it, it is barely possible that your host updated PHP in a way that broke your site. But the certificate is both more likely and an easier fix, so I would check that before talking to your host.
  15. ecartz

    SMTP with authentication on Phoenix

    OK. But what actual error was that file causing? It's possible that someone might be able to help you with that. Note that while Stewart has not gotten it working by following those instructions, he has gotten it working by jamming the contents of the file in a different location. It does still require installing PHPMailer and configuring it. I know nothing about configuring PHPMailer, so I can't give you any guidance with that. But still, someone else might be able to do so. For example, Stewart did apparently get that part of it working. This seems more like a hosting problem. I have certainly sent emails to my gmail address through a sendmail executable. If your host doesn't support that, I would recommend switching hosts to one that does. Note that talking about non-SMTP emails is simply nonsense. All emails are SMTP. The difference is the three kinds of access to SMTP. The sendmail kind is a local executable on the PHP server. The "SMTP" kind is a local SMTP server on the PHP server (primarily for Windows). The authenticated kind is a remote SMTP server. So what your host is saying is that rather than handling the authentication for you, they want you to authenticate manually. Because that's less work for them. I'd suggest saving them even more work and switching to a different host. Note that two of the certified developers are associated with hosting services. Eventually, I'm sure that someone is going to have to spend resources to get authenticated SMTP working. There seems to be a hope that "someone" will be either me or Burt. But even if it was, then I can tell you, that it would be released as a supporters' code rather than in core. So it might be better to approach one of the certified developers about it. As they are more likely to simply update the existing authenticated SMTP App with PHPMailer to work with Phoenix. It shouldn't even be that difficult, as I already rewrote and posted the code to do it. So what's left is essentially writing the instructions for installing and configuring PHPMailer and bundling the files properly. Rainer supports a large number of legacy Apps that are no longer supported by their writers. John has experience with custom email configuration. Preston likes to write Javascript package installers. It's possible that any or all of them might be interested in that kind of project. Another alternative would be filing a feature request with PHP. There is of course no reason why they couldn't implement authenticated SMTP in PHP itself. Then you would just have to configure it properly and you'd be able to use the mail function normally with a remote SMTP server. That would fix not just this software but PHP software in general.
  16. ecartz

    SMTP with authentication on Phoenix

    A 500 error is simply telling you that there was an error on the server. Check the error logs for a more precise error.
  17. ecartz

    Admin Load Time - strange this morning

    If you want, you can turn off the partner news and the other dashboard module that accesses the osC site. Then it won't matter.
  18. ecartz

    switching the site to https

    In the two configure.php files, change the things that say http: to https: Note that this assumes that your host is answering on https. If there's a problem with that, you'd have to take it up with your host.
  19. https://github.com/gburton/CE-Phoenix/commit/03411792e3fe0c344f6dbbb78dc92afcc2d3014a
  20. ecartz

    connecting to database issues

    Is your configure.php file pointing to the old database or the new database? Are you using MySQL or file sessions? Are your cookie settings for the dev location?
  21. ecartz

    Remove products that have the word sex in the title

    UPDATE products p INNER JOIN products_description pd on p.products_id = pd.products_id SET p.products_status = 0 WHERE pd.products_name LIKE '%sex%' Joins before set. You can see this in the documentation: UPDATE [LOW_PRIORITY] [IGNORE] table_references SET assignment_list [WHERE where_condition] Joins are hidden inside what it is calling table_references.
  22. ecartz

    PayPal transactions broken...?

    You might verify that you don't need to follow the steps at That was a problem in the UK last year. It may have spread to other countries this year. Note that if you use CE Phoenix, that wouldn't be a problem, as the file has already been updated.
  23. Note that these notices have been there all along. The update would only have revealed them. Most likely by defaulting display_errors to on. It should never be set on in production. So you should get that turned off regardless. In general, replacing $variable with (isset($variable) ? $variable : null) will get rid of the notices. However, this is essentially the same as just turning down the error reporting, as null is the default value of an undeclared variable. The notice is basically telling you that it is doing this for you. The real fix is often to code the add-ons differently. E.g. in if (false) { $variable = 'value'; } if ('value' == $variable) { If those are the only two occurrences, you could fix this by $variable = null; if (false) { $variable = 'value'; } if ('value' == $variable) { But watch out that it isn't really if (true) { $variable = 'default'; } // doing $variable = null here would overwrite the previous value if (false) { $variable = 'value'; } if ('value' == $variable) { Note that these statements do not have to be in the same file. There isn't a strictly mechanical solution. Removing the notices properly requires understanding why they are shown and changing appropriately to that particular situation. There isn't a simple rule to apply that would be better than turning down the error reporting. Sometimes the notice may be telling you that something is wrong. E.g. $typo = true; if ($tyop) { Which can be fixed by correcting the spelling in the second line.
  24. Shop version? Edit the error_reporting in includes/application_top.php in older versions. Or in the configure.php files in the latest Phoenix. Adding & ~E_NOTICE should suppress those messages. If it is already there, this may require a conversation with your host. Turn off display_errors in php.ini or however your host does it. This may require talking to your host, although some allow you to configure this yourself. It may help to refer your host to https://stackoverflow.com/a/54215956
  25. ecartz

    Where to buy templates for Phoenix?

    More constructively, if you want to exchange money to get a template implemented, there are resources in the Phoenix Club to get a quote or you could post in the Commercial Inquiries forum. I don't know of anyone creating an off-the-shelf template for Phoenix that you can just install. Phoenix has the capacity for drop-in templates. But no one is currently using it.