Jump to content

Jayphen

Member
  • Content Count

    30
  • Joined

  • Last visited

Posts posted by Jayphen


  1. I'm moving a website from shared hosting to DigitalOcean and the new server is running PHP 5.5. Unfortunately I don't have the option of upgrading to CubeCart 5 at this point, so I need to get this working.

     

    I understand Zend hasn't been updated to support PHP 5.5, so am using ionCube. However, I get this message at the root of the store

     

    Fatal error: The file /var/www/index_enc_ion.php was encoded by the ionCube Encoder for PHP 5 and cannot run under PHP 5.5 or PHP 5.6. Please ask the provider of the script to provide a version encoded with the ionCube Encoder for either PHP 5.3 or PHP 5.4 or PHP 5.5. in Unknown on line 0

     

    Is there a version of that script that has been encoded with a more recent version of ionCube?


  2. I have some ideas as to why this happens: banks of proxy computers (like AOL), or IE8's enhanced security. Or something else.

    Wrong (aka missing or dropped) sessions do not happen randomly - there will be a common reason - we just have to find it.

    CC4 records the browser (User Agent String) in the session database table. You need to look at this table (sort by customer_id) and compare IP addresses and browser values.

    If the customers you have received notice from (get their ID numbers) are using IE8, then read this:

    http://www.cubecartforums.org/index.php?showtopic=14230

    Hi, thanks for your reply.

    These users are not using IE8 – I was actually able to replicate the issue by logging in as one of the users who was experiencing the problem. Once I cleared cookies & tried again (as the same user), it was fine. I was using Firefox 5. It does not appear to be browser-specific.


  3. I can't seem to duplicate this on any platform, but customers have been occasionally having their sessions dropped. They wil add items to their basket & proceed through to the checkout, at which point they are unable to continue, as the basket empties itself. The same customers are not able to log in – when they attempt to log in, they are taken back to the log in screen.


  4. I have adapted your patch to work with Australian GST, however it is still very primitive (I mean no offence to you by this) .. The store I am working on sells to international customers, and so the GST component should obviously only be shown to Australian customers, whilst international customers should see the "N/A". Is there a fix for this at all?


  5. I have a client who I am in the process of upgrading to CC4, as well as reskinning their store etc. I've copied their database to a test server, which I've been developing on, and they have been editing their content on. Now has come the time to make the new site live. To do so, I need to export the orders & customers from the old site's DB (as there have been new registrations and orders during the development of the new store) and import them into the new site's DB.

    The problem is that when I try to import the old tables into the new DB, I get errors. The first one I hit is when the CubeCart_customer table is imported -

    #1054 - Unknown column 'zoneId' in 'field list'

    Obviously the database has changed a little in CC4 in comparison to CC3. What is the best way to go about copying this information across?


  6. Alistair is right - you are going to need a designer or developer to make these kind of changes. This isn't the kind of thing you can muddle through yourself if you have no knowledge of HTML/CSS. We can't tell you what line to change, because it differs according to the skin you are using. Why don't you just create an image with the text that you want & upload it using the logo changing tool?


  7. Is the Eway gateway compatible with Eway realtime XML payments, or only shared payments? That is, does it redirect the buyer to the Eway site, or can the payment be processed without being redirected?

    If it is not compatible with realtime XML payments, is there a mod around that is?


  8. I've been fervently watching the roadmap in Mantis & following it as it creeps up towards 4.1. 60% today guys, keep on truckin'!

    I was just curious as to what the new features are in 4.1? There are many bug fixes, but I know there are a few features tucked away in there as well.

    I know I could probably figure it out by going through the whole list of changes in 4.1 (all 117 of them so far), but that list is hard to read :D

    One feature I've noticed is stock levels for product options, which is a brilliant feature. What else have I missed?


  9. I think I had this same problem when I was beta testing, but I forgot to report it.

    Seems to happen when you select a country that doesn't have any states that drop down? It allowed me to register when I selected America as my country & chose a state from the dropdown, but not when I selected Australia and typed in the state.


  10. In IE6, if SSL is enabled, the customer is given the warning message "You are about to be redirected to a connection that is not secure" as it redirects them back to the unsecure index page after logging in or registering. This looks quite unprofessional, and may scare some customers away.

    This issue seems to have existed since January 2006, as in searching for solutions to the issue I found some threads from back then on the same thing.

    The only solutions offered were to make the whole site SSL secured, or redirect the customer to the cart after logging in or registering - neither of which are acceptable solutions.

    Does anyone else have a fix for this?


  11. You have the following code in your template..

      <!-- Title: Pills For All -->
    
      <!-- URL: http://www.pillsforall.com/ -->
    
      <script language="JavaScript" type="text/javascript" src="http://m1.nedstatbasic.net/basic.js">
    
    
    
    </script>
    
      <script language="JavaScript" type="text/javascript" >
    
    <!--
    
      nedstatbasic("ACV0IQZzA3pU1o8Rp3ZsSnIeuIWQ", 0);
    
    // -->
    
    </script></font><font color="#FFFFFF">
    
    <!-- End Nedstat Basic code -->
    
    
    
    You need to remove where it has
    
    
    
    
    
    </font><font color="#FFFFFF">


  12. I know that it's not difficult to add states in the administration panel, but I just thought that it made sense to have the Australian states/territories in the installation package - after all, Australian dollars is a default currency.

    The main reason I ask this is because I install at least 2 copies of CubeCart a week for clients, and I can see it becoming tiresome adding Australian states for every installation (I use Fantastico, otherwise I'd modify the install script)


  13. It would be great to see "Australia" as an option when installing the store, which would set the default location as Australia, currency as Australian dollars, etc.

    Also, would it be possible to include Australian states in the install package? I don't see why not.

    (side note - I'm sure this bug has been reported before, but if I select a country in registration that doesn't have any states specified in the administration panel and thus the 'state' field doesn't turn into a dropdown, it won't let me register. If I select a country that does have state/county options that drop down & I select one of them, it will let me register)


  14. I am trying to write a script that, when run, automatically modifies some of the General Settings to pre-specified values (country to Australia, weight to Kg, currency to Australian dollars etc).

    The reason I am doing this is because I skin & set up stores regularly (at least 2 a week), and am always making the same changes to the same settings. I've written a script already that when run, sets the tax up how I want it, removes the currencies not needed and adds some new ones. These were pretty straight forward scripts, because it was just a matter of executing some SQL queries. I've run into a wall when it comes to anything in the General Settings though, because of the fact that they are all stores in a serialized array. How would I go about writing a script to change some specific settings in the array?


  15. I have discovered that this error can be duplicated by opening the 'manage categories' window, and clicking the "ADD" button on a category more than once. Every time you click it, it adds another entry in cats.idx. This is the administrator's fault of course, but it is also bad coding.

    To prevent administrators from being able to do this in the future, I opened admin/products/extraCats.php and found the following code:

    <a href="<?php echo $currentPage; ?>&amp;add=<?php echo $results[$i]['cat_id']; ?>" class="txtLink">Add</a>
    
    
    
    and replaced it with
    
    
    
    
    
    <a href="<?php echo $currentPage; ?>&amp;add=<?php echo $results[$i]['cat_id']; ?>" class="txtLink" onclick="this.style.display='none'">Add</a>

    This means that the link will disappear as soon as you click it.


  16. I've had this occur twice now in two different stores I've made for clients.

    For some reason, if a product is set in a category and then added to other categories, it displays multiple times in those other categories.

    For example, in the screenshot attached, the product "Horny Little Devil Kit" is in the MAIN category "kits", and has been also added to the "Couples" category. In the couples category, it is duplicating three times, whereas in the main category it only shows once.

    I had a look in phpmyadmin, and the product has actually been assigned to the "Couples" category 3 times - there are 3 entries in cats.idx for it.

    Any ideas? :)

×
×
  • Create New...