Jump to content
ArtcoInc

Purchase without account for 2.3.4 and BS2334

Recommended Posts

1 hour ago, rupruprup said:

Please ensure that the class definition "manualCart" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition

Nothing to do with this App (PWA), but this suggests that the class name and file of manualCart do not match or are not in includes/classes or includes/modules.  I would expect a class name of ManualCart and a file name of manual_cart.php -- it's possible that just changing those to match expectations would work.  You might want to post in that App's support thread for more help. 


Always back up before making changes.

Share this post


Link to post
Share on other sites
Posted (edited)

I removed the the lines that check cart type and got it to work again, I have no downloads so it doesn't really matter now

but it means that I have to look for the  manualCart  cart class tomorrow 🙄

Edited by rupruprup

Share this post


Link to post
Share on other sites

Just wondering if anybody seen this message on 1.0.7.3.  This happens when checkout_shipping.php is called. on the url.

 

Warning: Invalid argument supplied for foreach() in /public_html/osc/includes/system/versioned/1.0.0.0/shipping.php on line 98

Warning: Cannot modify header information - headers already sent by (output started at /public_html/osc/includes/system/versioned/1.0.0.0/shipping.php:98) in /public_html/osc/includes/functions/general.php on line 46

Share this post


Link to post
Share on other sites
Posted (edited)

@gsmiley007,

This is unrelated to PWA. Please post in the appropriate thread.

Edited by raiwa

Share this post


Link to post
Share on other sites

Uploaded PWA 4.3.0

Purchase without account 4.3.0

 

Compatibility:
OSCOM CE Phoenix 1.0.7.5.+.
PHP 7.0-7.3

================================================================
Changes Version. 4.3.0
- updated for Phoenix 1.0.7.5
- updated createaccount_pwa.php to templateable page
- added MATC hook for create_account_pwa.php page
- moved store hook to templates
- updated admin/customers.php hook to customer details sql query and added support for search option

Share this post


Link to post
Share on other sites

@raiwa

Which version to use with Phoenix 1.0.1.4?  (please don't judge)

Thank you!

Malcolm

 


Get the latest Responsive osCommerce CE (community edition) here .

Share this post


Link to post
Share on other sites
5 hours ago, ArtcoInc said:

@raiwa

Which version to use with Phoenix 1.0.1.4?  (please don't judge)

Thank you!

Malcolm

 

Hi Malcolm,

You can download the latest version 4.3.0. There are files and instructions included for all Phoenix versions.

Use the first folder labelled: Phoenix_1.0.2.0-

Share this post


Link to post
Share on other sites

While installing v4.3.0 I get the error "PWA Guest Account"  Hook is not present. Unfortunately I'm having difficulty locating the proper file to copy in order to fix this. Can anyone point me in the right direction?

Untitled.jpg

Share this post


Link to post
Share on other sites
Posted (edited)

- Have a look in the documentation's New Files list

OR

- Search within the files

OR

- just copy again all files

Edited by raiwa

Share this post


Link to post
Share on other sites
1 hour ago, edfaught said:

While installing v4.3.0 I get the error "PWA Guest Account"  Hook is not present. Unfortunately I'm having difficulty locating the proper file to copy in order to fix this. Can anyone point me in the right direction?

Untitled.jpg

I have same thing ... new phoenix 1.0.7.5 installation without any add-on 
 and after the enabled the modules  it shows they are not active (but they are active)
image.thumb.png.b9259a200cbd2a1a81349821b1f1aec5.png

 

image.thumb.png.1845f3690379bfb155f7ef701bb206bd.png

but its seem to me its working 


Get the latest Responsive osCommerce CE (community edition) here .

Share this post


Link to post
Share on other sites
Just now, Omar_one said:

I have same thing ... new phoenix 1.0.7.5 installation without any add-on 
 and after the enabled the modules  it shows they are not active (but they are active)
image.thumb.png.b9259a200cbd2a1a81349821b1f1aec5.png

 

image.thumb.png.1845f3690379bfb155f7ef701bb206bd.png

but its seem to me its working 

You have to update to the latest version. The hooks location has changed.

Share this post


Link to post
Share on other sites
6 minutes ago, raiwa said:

You have to update to the latest version. The hooks location has changed.

I have the last one PWA_Phoenix_4.3.0


Get the latest Responsive osCommerce CE (community edition) here .

Share this post


Link to post
Share on other sites

@Omar_one, @edfaught,

You are right. I missed to update the check.

In includes/modules/content/login/cm_pwa_login.php line 35-43 find:

      if ( !class_exists('hook_shop_siteWide_pwa') || !is_object($cart) ) {
        $this->enabled = false;
      }
      if ( !class_exists('hook_shop_siteWide_pwa') ) {
        $this->description = '<div class="alert alert-danger" role="alert">' . 
                                 MODULE_CONTENT_PWA_LOGIN_HOOK_MODULE_WARNING . 
                             '</div>' . 
                             $this->description;
      }

and change to:

      if ( !file_exists(DIR_FS_CATALOG . 'templates/default/includes/hooks/shop/siteWide/pwa.php') || !is_object($cart) ) {
        $this->enabled = false;
      }
      if (!file_exists(DIR_FS_CATALOG . 'templates/default/includes/hooks/shop/siteWide/pwa.php')) {
        $this->description = '<div class="alert alert-danger" role="alert">' . 
                                 MODULE_CONTENT_PWA_LOGIN_HOOK_MODULE_WARNING . 
                             '</div>' . 
                             $this->description;
      }

I'll update this ASAP

Share this post


Link to post
Share on other sites

Sorry, this is better solution to show the module enabled in admin:

      if (!file_exists(DIR_FS_CATALOG . 'templates/default/includes/hooks/shop/siteWide/pwa.php')) {
        $this->description = '<div class="alert alert-danger" role="alert">' . 
                                 MODULE_CONTENT_PWA_LOGIN_HOOK_MODULE_WARNING . 
                             '</div>' . 
                             $this->description;
        $this->enabled = false;
      }

 

Share this post


Link to post
Share on other sites

Uploaded PWA 4.3.1

Purchase without account 4.3.1

Compatibility:
OSCOM CE Phoenix 1.0.7.5.+.
PHP 7.0-7.3

Changes Version. 4.3.1
- updated content modules hook check

Share this post


Link to post
Share on other sites

@raiwa

This morning working on site.  Updating PWA to 4.3.1.  Just one question.  Under 'Instructions'  '8b' option I can find out to do "add links to product reviews".

image.thumb.png.eed0219f082cc885626b84012b535524.png

When I go to Admin > Orders the above is all I get.  Not a big dial to me to use this option, but just want to see it. 

What step did I miss this time? 🙂

Thanks for your help. 

 

Share this post


Link to post
Share on other sites
Posted (edited)

@raiwa

Hi,

I'm using Phoenix v1.0.7.6 with PWA_Phoenix_4.3.1

Orders appear to go through the system but the customer's First and Last name aren't being saved. They are blank during the course of the order and when order is completed. Any pointers on where to look first? (Still trying to get to grips with hooks etc.)

 

Edited by ejsolutions

Share this post


Link to post
Share on other sites
1 hour ago, ejsolutions said:

They are blank during the course of the order and when order is completed.

Is this a brand new install?  Or an update of an older database?  In an update, I would check that you are using the newer version of the address_format table. 


Always back up before making changes.

Share this post


Link to post
Share on other sites
2 hours ago, ecartz said:

Is this a brand new install?  Or an update of an older database?  In an update, I would check that you are using the newer version of the address_format table. 

It's actually a partial migration from an older Phoenix, onto a fresh 1.0.7.0, then upgraded to 1.0.7.6

I didn't think that I'd transferred the address_format table but can easily check it out. Thanks! That's someplace to look at least.

Share this post


Link to post
Share on other sites
Posted (edited)

@ecartz

You got it in a oner! 🎖️

I used the (install.)SQL from v1.0.7.6 to re-create the address_format table.

Thanks again.

Edited by ejsolutions

Share this post


Link to post
Share on other sites

@raiwa Rainer I get the below error when in admin attempting to approve a review.

Here's line 135:

      $reviews = $reviews_query->data_seek(0);

I'm using PWA version 4.2.0 Phoenix

I'm running Phoenix version 1.0.7.6

Inkedpwa-error_LI.jpg

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×