Jump to content

DRIVE

Members
  • Content count

    121
  • Joined

  • Last visited

2 Followers

About DRIVE

  • Birthday 08/08/1912

Profile Information

  1. DRIVE

    IP trap Version 3 released

    PS - on my server, even if it (my ip) is the only IP in whitelist it doesnt match it and blocks me. Even if I put two or three others or a couple dozen in there, it still does not match my IP. It only matches it when it does not exist in whitelist, and whitelist has enough of a listing that it does a partial match. Tested it backwards and forward. If I cut out several hundred of the preloaded whitelist IP's, it does not match it whether I put it in there or not. PHP on that server is: 5.2.17 (Old Stable, not supported by PHP but still very common) http://php.net/downloads.php So again: My IP in Whitelist: blocked My IP not in Whitelist: matches My IP in in whitelist but white list reduced in size: blocked' *ya, I made doubly sure that I was whacking it out of the blocked list when I tested ;)
  2. DRIVE

    IP trap Version 3 released

    IP trap is matching my IP from the white list. I assume the white list that comes with IPT is loaded with many of the common bot/spider IP's since many use a lot of them (like google). $ipw = file ('../banned/Whitelist.txt'); $ip = $_SERVER["REMOTE_ADDR"]."\n"; foreach( $ipw as $whiteip ) $ipw is a multi-line file. The way you structured "foreach" in secret.php wont do any accurate matching on my servers version of PHP. It is just reading it as a huge blob and saying that my ip is on the whitelist when it is not. Works great for the IP_Trapped.txt though! I think the white/secret will have to be structured similarly to the iptrapped one but actually you need to get away from the \n deal and slurp the file in and do a foreach line or something.... eventually the file will be so large that it will bomb just because the function is a bit weak. At best it is doing a partial match... dont have much more time to trouble shoot it but partial matching will end up blocking a $#!+ load of wanted users :)
  3. DRIVE

    Multi-Stores Multiple Shops Support

    did you find a solution for this? I have no problems with accessing the orders with the admin, my problem is: default store -> user can login there and view orders store2 --> user can login but "you have not made any orders" even though for store2 the order confirmations note the store and insert the correct link to store2 for the user to login and view his order status. When in "my account" by logging in via the correct store2 link. there is no order history
  4. DRIVE

    Multi-Stores Multiple Shops Support

    Thanks to Ryan Hobbs and all that posted to this cool contrib.. My final problem is a mind blower. I have shop1 and shop2… etc set up and working with no problems now. But after being in the admin (or not) and working with a store for a couple of hours, the store suddenly goes blank. “shop1” (the master directory) is the only one that is always alive. All other shops go dead with a blank page after using any particular store for a couple hours. I was able to view them again after deleting my temp internet files, rebooting my machine and going to the web site/shop2 But its been a day and I still cannot get into shop2. Shop1 works fine. My structure is like this but it shouldn’t matter. I have all the config files for each shop with the proper settings and paths for everything. Domain.com/catalog/ Domain.com/catalog/shop1 Domain.com/catalog/shop2 ... etc ... *note that the /catalog/ "shop" works too and inside of /catalog/ I have all the default files and directories which I link to (linux link command) aside from the files Im required to maintain for each shop (/includes/config.php, /includes/database_tables.php). See previous post. I’ve posted the http headers below. I cannot fathom why it would be causing a 500 internal server error. I have a good understanding of my server and am fairly good at knowing how to find and fix this type of error but I have no clues aside from the headers. I do not know why it would be having an internal server error (500) and sending an immediate “connection close”. Why does store1 function while shop2 generates a blank page with the http headers below (getting them with firebug addon for firefox): Response Headers Date: Mon, 02 Mar 2009 10:58:07 GMT Server: Apache X-Powered-By: PHP/5.2.6 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Connection: close Transfer-Encoding: chunked Content-Type: text/html Request Headers Host: www.domain.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: osCsid=a76d29ecee2cf972e241ee5387f35374 Cache-Control: max-age=0
  5. DRIVE

    Multi-Stores Multiple Shops Support

    Nevermind. I didnt read the entire forum (78 pages at this post) so I was lazy :) I used soft links (ln -s command) on my server. Since this shop's shops are all on the same domain I only need to keep a couple of files independently. I have everything working beautifully aside from one issue. My structure for the shops is like this: domain.com/catalog/ (this one works fine but I have it turned off in all categories/products) domain.com/catalog/sub/shop2 domain.com/catalog/sub/shop3 domain.com/catalog/sub/shop4 etc..... My command lines go like this for soft linking to a file: cd /catalog/sub/shop2 ln -s ../../account.php account.php … and so on with the same for all files you want to link to (I link them all. Its worth the time) For my directories, I do the below for each one. Because you need to have an “includes” directory for the two files that the standard contrib. requires: includes/configure.php includes/database_tables.php Those are the only two separate files I need for each of my shops for this domain so literally EVERYTHING else is soft linked. So the point is you need to have the includes directory with the two above files in each shop and you also need to be creating these directory soft links while you are in the /includes/ directory for the shop you are setting up. ln -s ../../includes/boxes boxes ln –s ../../includes/classes classes ln –s ../../includes/functions functions ln –s ../../includes/languages languages ln –s ../../includes/modules modules … etc for any other dir’s you need I decided to take the plunge and give this contrib a shot even though the timeline I have is short. I’ve come across numerous little thing that I needed to tweak but overall it hasn’t been too bad. I have one problem remaining to be solved. I loaded this shop with these contribs. I did not chronicle my changes but I did successfully integrate these with the Multi-S contrib.: 1) AJAX Single Page Checkout 2) AJAX Shopping Cart 3) AJAX Attribute Manager 4) My own contrib., PopUps Massaged which still works for OSC MS2 RC2a, the version Im using with M-S now. :)
  6. DRIVE

    Multi-Stores Multiple Shops Support

    Hi, I am up and running on OSC 2.2rc2a I have several questions regarding this installation. 1) Is anyone successfully using this version with MS? 2) I have domain.com but need multiple stores. I do not want to have copies of all the files for each store/subdirectory. Has anyone implemented this yet and if so can you let me know what you did? I see the part about soft linking in the manual but dont want to go to far if this cant work. example (directory structure/locations are the same for all stores regarding the CATALOG files on a SINGLE domain.com) Store 1: domain.com/catalog/ (default store) Store 2: domain.com/catalog/subdivision/sub1/ Store 3: domain.com/catalog/subdivision/sub2/ Store 4: domain.com/catalog/subdivision/sub3/ 3) Has anyone done the above by simply using "store_id" or a similar work-around to simply use one catalog directory? 4) Where is Ryan Hobbs?? :rolleyes: Who is maintaining this contribution or is it just up to the people using it now?? Thanks for any help. I am trying to not waste too much time on this if it wont work for my needs.
  7. Posted to incorrect forum. Been a while since ive been here :) corrected forum/topic http://forums.oscommerce.com/index.php?showtopic=70365 correct topic
  8. Hi, I am up and running on OSC 2.2rc2a I have several questions regarding this installation. 1) Is anyone successfully using this version with MS? 2) I have domain.com but need multiple stores. I do not want to have copies of all the files for each store/subdirectory. Has anyone implemented this yet and if so can you let me know what you did? I see the part about soft linking in the manual but dont want to go to far if this cant work. example (directory structure/locations are the same for all stores regarding the CATALOG files on a SINGLE domain.com) Store 1: domain.com/catalog/ (default store) Store 2: domain.com/catalog/subdivision/sub1/ Store 3: domain.com/catalog/subdivision/sub2/ Store 4: domain.com/catalog/subdivision/sub3/ 3) Has anyone done the above by simply using "store_id" or a similar work-around to simply use one catalog directory? 4) Where is Ryan Hobbs?? :rolleyes: Who is maintaining this contribution or is it just up to the people using it now?? Thanks for any help. I am trying to not waste too much time on this if it wont work for my needs.
  9. DRIVE

    [Contribution] POP-UPs MASSAGEed

    Not a problem :) There are also programs that you can take a directory of images, such as full size images and run a "batch" process that allows you to scale the images to parameters you set and to also create thumbnails at the same time such as with a -th added on to the image name. ACDSEE, Adobe... most of those allow you to do batch processes that you can tailor to suit your needs and do hundreds or even thousands of images quickly. Good luck!!
  10. DRIVE

    [Contribution] POP-UPs MASSAGEed

    Hi Stacey, A life-saver? hmmm... guess you are indebted to me forever then ;) So which files are the ones that are low-quality. The thumbnails? You would just need to use Photoshop or Fireworks or any graphics editor. Open the files that have good quality, resize them, and save them. If you overwrite the existing thumbnails, you only have to upload the images. If you use new filenames for the thumbnails you have to go in and edit each product with the new thumbnail image.
  11. DRIVE

    [Contribution] POP-UPs MASSAGEed

    Hi Stacey, There is no manipulation of the images by this contrib. What you see is what you got basically. If your larger images are poor quality you need to replace them with new ones of better quality. Often times, there are "control" images which are much much larger (physically and in KB) and then persons export them to a smaller "larger" image and then the thumbnails. If you have "control" images then you just need to export them with different quality settings. Not sure what your file extensions are but if its a photography site, all images should be .jpg because gif's have a max of 256 colors. .jpg's can have millions of colors. Just my thoughts.
  12. DRIVE

    [Contribution] POP-UPs MASSAGEed

    Hi Zulu, I would need to have a link to a sample web page where the trouble is occurring. It doesnt mean I can fix it if you have it embedded in Flash but the image you posted doesnt let me get enough info.
  13. DRIVE

    [Contribution] POP-UPs MASSAGEed

    Hi JBradley, Thanks for posting the link. That is very helpful. You did not add the styles to your stylesheet as described in Step 2. Do that and it will work as expected.
  14. The easiest thing to do would be to change the value in your database (via phpMyAdmin or MySQLfront or similar). In the configuration table, look for DEFAULT_ORDERS_STATUS_ID it is probably set to 1. Change it to 3 (delivered). Otherwise, you could try this. In /[yourcatalogdir]/includes/classes/order.php somewhere around line 265 (depending on how many contribs you have that altered this file it could be many lines less or more) look for this: $this->info = array('order_status' => DEFAULT_ORDERS_STATUS_ID, and instead of DEFAULT_ORDERS_STATUS_ID put MODULE_PAYMENT_AUTHORIZENET_AIM_ORDER_STATUS_ID I do not guarantee that the second method will work but it "should" :thumbsup: :-" as always... please let us know if it worked :)
  15. PM me your /catalog/includes/modules/payment/authorizenet_aim.php file (put inside ) tags to preserve formatting. I'll help you for nothing. I've done a boatload of these and can probably get it going for you.
×