Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

tastar

Pioneers
  • Posts

    123
  • Joined

  • Last visited

Posts posted by tastar

  1. I just spent a day or so trying to get the Linkpoint API working - it just wouldn't communicate. I even switched to new hosting that would allow port 1129 to be opened, made sure that cURL was enabled, messed with a million test transactions, etc. Turns out that it was a simple fix - I had been using plugnpay, but my merchant services discontinued it and moved to Linkpoint - and part of the plugnpay install was a modification to the includes/classes/cc_validation.php file. I reverted back to the original and now all is good. I found this by looking at the error log that was being generated in my public_html directory.

     

    Wow, what a pain! I hope that this post can help someone else!

     

    Tony

  2. I just updated to the latest Links Manager (1.18) and am having the same problem:

     

    404 Not Found error - .../graphic-arts-supply-links-2.html was not found on this server.

     

    without search engine friendly urls (I have Ultimate SEO URL's installed) the link would be /links.php?parentid=1&IPath=2

     

    I don't really understand how links.php processes these variables, but the end result is a broken link. I have two categories, with category id's 0 and 1. And I have two links, both are in category 1 and are link_id's 2 and 3. I don't have any featured links. I'm using php5.2.4.

     

    Anything that you can do to help resolve the issue would be great. Thank you in advance for the help.

     

    Tony

  3. Hi - I'm getting a similar error with the upload class (that is used in CAP):

     

    Catchable fatal error: Object of class upload could not be converted to string in ...includes/functions/database.php on line 95

     

    I'm guessing that it is a php5.2 thing, but other than that, I'm clueless. So, if you vikal, I'll jump in too!

     

    thank you in advance.

     

    Tony

  4. Hello!

     

    Thanks for the great contribution.

    I just added this contribution to my site - it’s great - however am getting php warnings when I select customers from the admin panel. I believe it might be due to php5 which is currently installed on my server; I’m using oscommerce-2.2rc1.

     

    ------------------------------warnings---------------------------------------------------------

     

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /var/www/web1/web/catalog/admin/customers.php on line 734

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/www/web1/web/catalog/admin/customers.php on line 735

     

    Warning: reset() [function.reset]: Passed variable is not an array or object in /var/www/web1/web/catalog/admin/includes/classes/object_info.php on line 10

     

    Warning: Variable passed to each() is not an array or object in /var/www/web1/web/catalog/admin/includes/classes/object_info.php on line 11

    -----------------------------------------------------------------------------------

     

    Any help on fixing the php warnings is highly appreciated.

     

    Many thanks,

    psg

     

    I just received the same error in a different file and found the answer:

     

    change all of the array_merge functions from this format:

     

    $sql_data_array = array_merge($sql_data_array, $insert_sql_data);

     

    to this format:

     

    $sql_data_array = array_merge((array)$sql_data_array, (array)$insert_sql_data);

     

    There are a bunch of files that use array_merge in the admin area - I switched to PHP5 last year and just noticed the issue. Guess that I'm really behind with this stuff. Your post was from January - hope that it was fixed a long time ago!

     

    Tony

  5. Hi all,

     

    So I'm getting this error at Google: Unsupported file format

    Your Sitemap does not appear to be in a supported format. Please ensure it meets our Sitemap guidelines and resubmit.

     

    I've been using the dynamic sitemap contrib for at least 2 years and I just noticed that I was getting these errors. I've checked the code against their guidelines and don't see any issues. If I generate the sitemap using the googleSitemapCategories.php, save it as a text file and then upload the generated file to my website, Google likes it. But the googleSitemap...php files continually generate the same error.

     

    Here's the beginning of a generated text file that Google likes:

     

    <?xml version="1.0" encoding="UTF-8"?>

    <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

    <url>

    <loc>http://www.tastarsupply.com/storage-media-optical-dvd-c-129_158_162.html</loc>

    <lastmod>2008-06-15</lastmod>

    <changefreq>weekly</changefreq>

    <priority>1.0</priority>

     

    <url>

     

    So, the question is, why did these googleSitemap...php files stop working, and why do the text files that these php files generate work?

     

    Any help that you can provide would be appreciated!

     

    thanks.

     

    tony

  6. Hi All,

     

    I've look through this forum and Separate Pricing Per Customer, but can't find a solution. I have CCVG (from June 2007) and SPPC (version 4.11) installed. I just noticed that my coupons are discounting based on the pricing in customer group 0 rather than on the pricing in the appropriate customer group.

     

    I think that the error is coming from: function get_product_price($product_id) in ot_coupon.php in order total modules - like it is doing a query on the product file price rather than the SPPC group price.

     

    Does anyone know how to fix this issue? I tried using the query from shopping_cart.php in classes, but I really don't know what I am doing.

     

    Any help would be greatly appreciated!

     

    Tony

  7. Hi All,

     

    I've looked through this forum and haven't found a similar problem. On my website, on pages that have tabs generated by the Tabbed Product_info Page contribution, my vertical fly out menus become transparent and mix with the product info text (and don't work):

     

    Problem page with tabs

     

    On pages where no tabs appear, all is good:

     

    Good page without tabs

     

    Does anyone have any idea of how to solve this problem (other than removing the Dynamenu contribution). I would guess that it is a conflict with the two javascript calls (the onload issue mentioned in this forum?), but since one is called by product_info and the other by dm_categories, I can't guess how they could be merged and don't understand the concept. Also, the pop-up image is also a javascript, but it doesn't cause any problems.

     

    Any help would be appreciated!

     

    tony

  8. Re. the Faster Page Loads Contribution

     

    I just updated my Mac notebook to PHP 5 and did the PHP 5 updates (basically doing the fix to turn Register Globals off, fixing <? rather than <?php and doing the HTTP_ fixes). After doing this, my Admin side worked, but the catalog side didn't.

     

    I finally tracked the problem down to this contrib. With the contrib installed, I got a blank page in Firefox and a bad server response" (NSURLErrorDomain: -1011) in Safari (IE 5 still worked - go figure). I removed this contrib from catalog/includes/application_top.php and all is well again (I didn't adjust the admin side since it was still working).

     

    I think that it did save a little time doing page loads, so it would be nice to get it going again. But, I don't have a clue about the global variable stuff and why configuration cache would work on the admin side and not on the catalog side.

     

    So, for all of you moving to PHP 5 (it seems to be inevitable) watch out for this one.

     

    Tony

  9. Hi,

     

    I just wanted to say thanks for the tabbed products contribution - I just added it to my store. It took some hacking to get it to work - I've changed the look of the product info page somewhat, and I finally got it in a very round about way (like being way too complex and then simplifying it). In the end, it was a pretty simple mod to the product info file.

     

    I only have about 10 products right now that are currently using tabs, but its so flexible that I'm going to use the tabs for rebates, other specials, related products and possibly some other stuff as I add products to the site. It's really nice because the tabs don't show up unless the call to the js is present in the product description, so the untabbed products display as usual.

     

    So, Beer Monster, thanks for the great contrib!

     

    tony

  10. Thank you Chemo (and Stonebridge) for the contribs - SEO Url's and the Google SiteMap contribs are as great as everyone is saying.

     

    I've been watching this forum for a while now, hoping that someone is having the same problem that I am, but I just don't seem to see an answer. I initially used the XML sitemap contrib and recently switched to Chemo's latest php generator hoping that the problem would disappear. Google seems to be trying to crawl my site with regularity, but the only results that I am getting are Unreachable URLs (Network unreachable). Here is an example of the error listing:

     

    bad_sitemap.jpg

     

    I currently have over 1300 of these errors that are all relatively recent. If I click on any of the links, they work and go to the appropriate page. And, at least to me, they do it relatively quickly. I don't have any other google errors, like HTTP errors, Not found, URL not followed, etc.

     

    As a result, I'm just not being indexed by them at all. So, what is causing google to choke when it is indexing my site? Any help that you all could provide would be greatly appreciated.

     

    thanks in advance.

     

    Tony

  11. Tony,

    You are right, this is a flaw in the create_account process: a number of session variables are not set that are set when you login. See this post and the last line for a link to the fix. In your case (since the default is 1 instead of 0) you will need to set sppc_customer_group_id to 1 instead of 0.

     

    Thank you, Jan. It was that simple. I guess my next step is to understand more about searching forums, session variables, etc. so I can actually contribute something. SPPC is a great contribution, it really adds a lot of power and flexibility to the system.

  12. Hi everyone,

     

    I'm relatively new to this stuff, and am having a problem with SPPC. I have 3 price groups, 0, 1 and 2 (List, Member and Wholesale) with the default group set to 1 - Member. After a new customer creates an account (create_account_success.php), they see group 0 List prices rather than group 1 Member prices until they log out and then log back in again. After they create their account, the database lists a value of 1 in customer_group_id as it should. But, somehow the spcc_customer_group_id variable that is used in product_info.php doesn't have any value (it's null, I think) and they end up in the 0 group because the tests are for spcc_customer_group_id != 0. When they log out and then log back in, the spcc_customer_group_id has a value of 1 and sppc displays the correct pricing.

     

    After customers create an account, they see high list prices and don't return, so it's a problem that I need to figure out. It seems like sppc_customer_group_id is set in login.php. But, new customers don't go through login.php - so can I do something like add sppc_customer_group_id = 1 to create_account_success.php?

     

    I don't really know how to solve this, so any help that you can provide would be greatly appreciated.

     

    My web site is live at www.tastarsupply.com if you want to see the problem in action.

  13. the separate price contribution was programmed by someone, thus if using that, you need to makee sure your database tables match what they have programmed into easypopulate.

     

    This is the way the Separate Price part of easypopulate.php (at the end of the file) looks for each price group:

     

    if ($v_customer_price_1 != ''){

    $result = tep_db_query('

    INSERT INTO

    '.TABLE_PRODUCTS_GROUPS.'

    VALUES

    (

    ' . $v_customer_group_id_1 . ',

    ' . $v_customer_price_1 . ',

    ' . $v_products_id . ',

    ' . $v_products_price . '

    )'

     

    This is the way that it should look:

     

    if ($v_customer_price_1 != ''){

    $result = tep_db_query('

    INSERT INTO

    '.TABLE_PRODUCTS_GROUPS.'

    VALUES

    (

    ' . $v_customer_group_id_1 . ',

    ' . $v_customer_price_1 . ',

    ' . $v_products_id . '

    )'

     

    There are only three fields in the customer_group table. Easypopulate is trying to add 4 fields to it. If the $v_products_price field is removed for each set of customer_group_id's that is being uploaded, then easypopulate correctly updates the customer_group table.

×
×
  • Create New...