Jump to content

tjd

Members
  • Content count

    40
  • Joined

  • Last visited

Posts posted by tjd


  1. Try extending the php timeout number by using a directory based php.ini file. Or maybe a php value directive in .htaccess (supposed to be undesirable, but seems to work).

     

    I'm having the same problem.

     

    Are you talking about

    ;;;;;;;;;;;;;;;;;;;
    ; Resource Limits;
    ;;;;;;;;;;;;;;;;;;;
    
    max_execution_time = 60
    max_input_time = 60; Maximum amount of time each script may spend parsing request data
    memory_limit = 16M; Maximum amount of memory a script may consume

    or

     

    ; Default timeout for socket based streams (seconds)
    default_socket_timeout = 60

     

    Both are taken from the php.ini file.

    Sorry about delay in answering - max-execution time is the one


  2. Hi all,

    I'm having an issue with this contrib, which i've never had before in several carts with it. This site is on the same server as the rest that work, and most of the images on this site work too. But a few random images don't work...

     

    GD is installed, etc etc. Most (probably 350 out of 360 images) work perfectly fine. But theres a few that don't, seemingly for no reason. Theyre jpegs, but i noticed that the few images that don't work are rather huge (around 2000x1000 px), could that be causing the thumbnailer to fail? I really see no other reason than that....

     

    Any help is appreciated, thanks!

     

     

    Try extending the php timeout number by using a directory based php.ini file. Or maybe a php value directive in .htaccess (supposed to be undesirable, but seems to work).


  3. remember to run spybot if you've been sucked in to adding links etc. Prbly there's click tracers, key stroke tracers and all sorts on the end of this disgusting little scam. Stay within the community, guys. Learn to program a little, learn to use the bits of templates that are available from your mates wthin osc. It's a jungle out there!


  4. I know I've seen all this before, but can't find it, so forgive . . . it seems as though ultrapics or mopics or one of those used to generate a new images folder subdirectory if you created a new category in admin, and then, when you came to add pictures, bingo there they were. Or am I dreaming?

     

    If it wasn't either of these. Which contrib is there that generates an image folder tree to match categories?


  5. Sorry if this is cross posted from main category, got confused with new forum layout. Been away a while.

     

    Fresh install of 2.2, fresh upload of latest Margin Report. If db managed with phpMyAdmin 2.2.3 no problem. If managed with 2.9.1 following error occurs:

     

    1054 - Unknown column 'p.products_id' in 'on clause'

     

    select count(*) as total from products p, products_to_categories p2c, categories c, products_description pd left join specials s on p.products_id = s.products_id where pd.language_id = '1' and p.products_id = pd.products_id and p2c.products_id = p.products_id and c.categories_id = p2c.categories_id

     

     

     

    Tks

     

    Oh. Always was a great contrib. Now may be better.


  6. Fresh install of 2.2, fresh upload of latest Margin Report. If db managed with phpMyAdmin 2.2.3 no problem. If managed with 2.9.1 following error occurs:

     

    1054 - Unknown column 'p.products_id' in 'on clause'

     

    select count(*) as total from products p, products_to_categories p2c, categories c, products_description pd left join specials s on p.products_id = s.products_id where pd.language_id = '1' and p.products_id = pd.products_id and p2c.products_id = p.products_id and c.categories_id = p2c.categories_id

     

     

     

    Tks

     

    Oh. Always was a great contrib. Now may be better.


  7. Yes and no, the table based template is also available in osC V3.0 together with a full DIV/CSS based template.

     

    There is a template system implemented, so you can do lots of things with the look & feel and layout (adjustable for individual pages).

     

    So to add a bit . . . have we got over using php classes to partially control presentation? That would clean up lots of spaghetti syndrome.

     

    I've been tearing my hair out for: dynamic content management and generation by PHP, page structure by generated html from a single, known and accessible point of focus, then style and seed content (textual content, link styles, box headers, captions etc) and any styling at all by css.

     

    Further: can we pleese have some guidlelines for contrib developers so all things of this kind go under this file set, all things of that kind go under that file set always, and consistently?

     

    I guess what I'm groping for is a stern philosophy of modular development where each part is, as far as possible, independant and discrete from every other part.

     

    Ah, yeh idiot! Download an alpha, install it on a unix box and have a play, and stop asking dumb questions, I guess, mmm?


  8. Ok, here 'tis. First it seems some of the dependency libraries that load with mcrypt and its kin were needed so even though mcrypt wasn't, by installing it and restarting Apache things got a little better, (the sample html page started outputting a hash). But I still couldn't get past the blasted "hacking attempt" response on the site and couldn't get a hash match. So I downloaded the hsbc contrib from downhome consulting, which does use mcrypt algos and it worked straight out of the box, just like it said on the tin.

     

    It may be that the hashing routines in v3.0 and V3.1 don't work properly on servers running virtual sites (can't think why and have no time to mess around with the chicken's entrails that comprise our virtuals).

     

    But if anyone can't get a result with the hsbc conrib, try this one.


  9. And finally a little light:

     

    traps fr young players number 20067776: just because phpinfo reports every hashing engine known to man as being installed and active, doesn't meant the mcrypt library is in the server's lib directory. CHECK CHECK CHECK!!!

     

    Further the subcontinental advice turned out to mean that we were not sending a hash at all, but instead sending the path to 'TestHash-e' where we should have been sending a hash.

     

    This is still occuring. Any ideas???


  10. More on the above. According to HSBC the hash being received by them from the test page does not match the outgoing url. I assume they are using the url as part of the hashing process?

     

    I am seriously puzzled by this statement by a person from the sub continent. Can you enlighten me at all?


  11. Ted,

     

    If you don't have control over the server and the PHP setup allows it then you must use the

    putenv("LD_LIBRARY_PATH=$path");

    statment.

     

    Regards

     

    Neil Westlake

     

    By the way, you only need to use libCcCpiTools.so and testhash.e.

     

    Thanks, Neil

     

    I've settled for that. Now the sample.html file is producing an order hash, but i keep getting an error 12, (store details). So I assume there is a store ID/supplied hash problem?

     

     

    Tks


  12. You are not going to get this to work unless you have the right files in the right place. Some of this is down to you, some of it is down to your hosting company.

     

    1. You need to place the following files in the cgi-bin and set to 755 permissions:

    CcOrderHash.e

    CcResults.e

    TestHash.e

    2. Your web hosting company must have these files in the Shared Library folder:

    libCcCpiTools.so

    libstdc++-libc6.2-2.so.3

     

    Vger

     

    Vger, if you pick up on this, am I right to avoid HSBC's suggestions about putting a LD_LIBRARY_PATH in the init, and therefore, at least on a fedora/redhat system will simply placing the gcc files in /usr/lib suffice, or do we need to path that in the mod's php itself?

     

    Then what do we do with the putenv for LD_LIRARY_PATH in the module itself? Just nuke it?

     

    Gettin' kinda puzzled here.

     

    Tks.


  13. Hi,

    I've searched through a good 30 of the 70+ pages here. With no luck.

     

    Froogle feeder is up and running. And it creates my feed. But when it goes to FTP - it waits a good 90 seconds, and then fails to connect. I've double checked and triple checked my account settings. If I use an ftp client to connect, I have no problems. (verifying my settings are the right one's) The froogle.php settings match up. So you can imagine I'm really confused at this point.

     

    The site is being hosted via Godaddy. I've contacted them to see if they have any limitations on my account. None reported...

     

    Any help would be amazingly appreciated...

    Thanks!

     

    Froogle's "hedwig" server is a beast. Lot's of probs uploading from an ftp client. Could be something to do with it. Ask froogle support. They are ok.


  14. Is there any code anywhere that would go into the curremcy conversion to update exchange rate at the same time?

     

    At present it seems we get the name of the currency changed, but the amount remains the same.

     

    So if a GBP store converts to USD, all the currency entries are happily described as USD, but the amount in the price field appears to remain the same.

     

    Or am I missing something?


  15. TEXT_PRODUCTS_INVENTORY_COST

     

    pops up in the admin>categories/products review window under the thumbnail of the product. Can't find anywhere it's generated and can't find it as a string. Going nuts. What to do?

     

    This what we see:

     

    leather/2005_1023_075605S.jpg

     

    Price: ?19.99

    TEXT_PRODUCTS_INVENTORY_COST ?8.00

    Quantity: 1

     

    Average Rating: 0.00%

     

     

     

    Next, although the cost of goods entered in the input box in the product edit input area comes up on the preview window of categories/products, it doesn't show in the report, nor is it in the db.

     

    I am using an Ultra pics contrib by the way.

     

    Regards


  16. Im having troable, as so are different store owners i know with calulating shipping cost

     

    My main concerns being weight and postal code/area. I want to set different postal rates to say different areas basied on postal cost and i want a table that factors in the weight.

     

    i have tried the module Shipping Zone Rates with SQL (http://www.oscommerce.com/community/contributions,1478/page,8) with no luck it seems to be calulating a extra value i can find and the readme isnt very help full

     

    Could anyone help me with module or offer other ways i could over come this with oscommerce

     

    Could that be the tare weight setting in admin>config>shipping adding to your weight, therefore cost?. If so set it to 0


  17. For some reason the purchase details from shopping cart (which appear to be complete in the output of all the shoipping cart files) are not being passed to the database after an order is confirmed. The upshot is that the admin>customers>orders>edit screen comes up with

    Products 0x

    Model

    Tax 0%

    Price (ex) ?0.00

    Price (inc) ?0.00

    Total (ex) ?0.00

    Total (inc) ?0.00

     

    The email to the purchaser reflects this also, and of course, so do invoices, packing slips and all.

     

    But then, the next line picks up Total ?17.00 from the db.

     

    If I go to the database

     

    The price fields, product name fields, and etcetra in the orders table set are blank. but the total fills in ok.

     

    Could it be that some name changes have occured to the default db header titles after this, or some other mod were installed?

     

    Any ideas? (other than reinstalling everything and feeding the products database sections back in by hand (groan))


  18. Hi Druide

     

    I have a problem with your shpping modul.

    The Error "The shipping rate cannot be determined at this time"

     

    I have upload and install the modul and the amount is always "0.00"

     

    What can i do?

     

    cheers Lars

     

     

    Same issue, anyone fix it?

     

    Further why are we entering default numbers in the php file when the admin interface has a form for this, changes to which appear to make no difference.

     

    Further still, if you add a fourth level of zones, nothing shows in admin.

     

    Extremely difficult to understand the install readme English. Can someone who knows this program have a go at enhancing its clarity and completeness?


  19. Am I getting something wrong?

     

    Well usually. But in this specific case I can't seem to get the admin >> categories >> "add new product" form to place uploaded images in a specific sub dir. :'(

     

    Yet I notice in the demo database this is the case . . . Microsoft product images are in a microsoft folder, Matrox in matrox etc. Were they uploaded by hand, then all modified/edited in the db by hand? Or is there a mechanism for ensuring that uploaded pics lob into a certain sub dir instead of all going into the base images dir?

     

    Thousands of product shots in one dir makes a hard search job, and slow indexing.

     

    Oh, am using ultra pics latest package. Works well.

×