Jump to content

Pharmacy First UK

Member
  • Posts

    17
  • Joined

  • Last visited

Posts posted by Pharmacy First UK

  1. Okay I have removed the trailing slash,

     

    Also the live site does use SSL certificates but only from login/register on-wards.

     

    I have also downloaded the editconf.php file. Where does this go and do I have to make any changes to it

  2. 5 minutes ago, bsmither said:

    Using CC448 (or at least, the admin.php and index.php files from CC448) dispenses with the licensing.

    If you copied over your existing store to the local XAMPP (but using the new files), have you examined the file /includes/global.inc.php? There is unique data in that file.

    I have copied it exactly over. I have attached a screenshot on the global.inc.php file

    pic001.png

  3. On 4/22/2016 at 9:24 PM, bsmither said:

    Please create a file called ini-custom.inc.php, and have as its contents:

    
    <?php
    # Custom initialization commands
    # Filename: ini-custom.inc.php
    # File location: main CubeCart folder
    
    ini_set('memory_limit', '256M');
    ini_set('max_execution_time', '60');
    ini_set('error_log', 'error_log');
    ini_set('log_errors', 'on');
    
    ?>

    Place this file in CubeCart's main folder at your site.

    Then, edit the CC448 file ini.inc.php, near line 139, find:

    
    ## default encoding UTF-8
    ini_set('default_charset','UTF-8');
    
    //date_default_timezone_set('UTC');
    
    
    Add AFTER:
    
    // Include a custom ini file, if it exists
    if (file_exists(CC_ROOT_DIR.'/ini-custom.inc.php')) {
    	include CC_ROOT_DIR.'/ini-custom.inc.php';
    }

    Save the file back to your site.

    When you request a page from your site, if there is a PHP error, there will be a new file in CubeCart's main folder named error_log.

    Examine the contents of this file.

     

    Ok I tried this just now and restarted the apache before checking.

     

    Unfortunately this did not work and still showed a blank page.

    I checked the error log and all it states is a depreciated MYSQL error. I'm not worried about the sql error as it is only being used internally so this is not a security risk for us.

     

    Do you have any further ideas as to how this can be fixed?

     

     

    EDIT: After searching through a thread on apachefriends (LINK). Could it still be trying to read a license file? If so how can I change it so it either ignores the license or renew the license.

    Quote

    I have heard their licenses are server-specific, and to run on localhost you need a new license file (or whatever) - I think its free if you own the production license.

    A quick test for PHP/MySQL working right would be a WordPress install. Its fast and if it works right, you know its most likely not an XAMPP issue.

    You could even use the same database info, as during the install WP allows a 'prefix' to be set on the tables it will use -- thus easy to kill off later - and you know your database is working.

     

    EDIT 2: I have also checked ioncube to see if that was the issue and it is installed fine. I have disabled the license key and it still doesn't load.

  4. Unfortunately that did not work. I tried version 4.4.8 (the latest build of version 4) and it still has a blank page

     

    EDIT: Just realised that I updated the admin.php file on our live site to avoid this issue so that was already configured. 

    Any other suggestions?

  5. Hi,

    I am building a webserver as we are migrating to a new website soon and I'm installing our current website onto an in-house webserver running xampp.

    All the databases and files are configured and ready for use however the homepage (index.php) is blank as is any other php file for cubecart. I have tested to see if it is a php issue by installing wordpress and wordpress works fine.

    As our website was tailor made and running cubecart version 4.4.4 we were unable to update the version as it would have broken our system. I'm wondering if it is a license issue or a config issue that is causing the blank screen.

    This is the only thing that is stopping me from completing the migration and any help on this would be much appreciated.

     

    Thank you in advance

×
×
  • Create New...