Home Forums WoodMart support forum Theme appears to be blocking database updates

Theme appears to be blocking database updates

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #44781

    utronix
    Participant

    Hi All

    I am not a PHP programmer, however I have a PHP script that runs OK on another site (hosted by the same company)

    However when I try an run the same script on a server with woodmart load, absolutely noting happens, when I disable the theme the script runs OK. The script is updating woocommerce stock quantity. Any advise is greatly received.

    #44815

    Artem Temos
    Keymaster

    Hello,

    Thank you so much purchasing our theme and contacting our support center.

    Please, describe us your problems in a bit more details. Attach some screenshots and provide us a list of steps how to reproduce it on your website.

    Thank you in advance.

    #44950

    utronix
    Participant

    HI thanks for the quick response

    I run a php from an SSH shell i.e $ php Stock_Update.php

    under normal circumstances I get the following output (to the screen)

    Connected to DataBase
    RPUT-43-1253 Updating Stock .. Current Qty = 2 New Qty 1.00000000
    RPUT-60-2424 Updating Stock .. Current Qty = 14 New Qty 12.00000000
    RPUT-50-0908 Updating Stock .. Current Qty = 2 New Qty 0.00000000
    RPUT-57-6528 Updating Stock .. Current Qty = 72.000000 New Qty 63.00000000
    176390 Updating Stock .. Current Qty = 73 New Qty 63.00000000
    RPUT-54-6013 DISCONTINUED RPUT-54-6013 Updating Stock .. Current Qty = 16 New Qty 16.00000000
    RPUT-08-0238 DISCONTINUED RPUT-08-0238 Updating Stock .. Current Qty = 199 New Qty 199.00000000
    RPUT-63-0010 DISCONTINUED RPUT-63-0010 Updating Stock .. Current Qty = 507 New Qty 507.00000000

    However when WOODMART is active I get nothing the script appears not to run and doesnt come back to the $ prompt.

    #44951

    Artem Temos
    Keymaster

    Sorry, but we don’t know why it may work incorrectly. You need to perform some debugging process on this to understand which part of the scripts is not working.

Viewing 4 posts - 1 through 4 (of 4 total)