Page 1 of 3 123 LastLast
Results 1 to 10 of 22
  1. #1
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default ssl not working - Fasthosts

    having major problems here, i have a server with fast hosts on a linux server, also have a shard ssl server whihc is on a windows server,

    i have my store running 100% with ssl off, i copied all file over from the linux server to the ssl windows server and edited the includes/config and admin/includes/config file so the urls are correct and the ssl is true.

    so now i have 2 copys of my store on bother servers,

    when i loginto admin i get this

    Warning: main(/home/fhlinux173/r/rubberduckbathrooms.co.uk/user/htdocs/store/includes/autoload_func.php) [function.main]: failed to create stream: No such file or directory in e:\sslroot\storessl\store\admin\includes\application_top.php on line 147

    Fatal error: main() [function.main]: Failed opening required '/home/fhlinux173/r/rubberduckbathrooms.co.uk/user/htdocs/store/includes/autoload_func.php' (include_path='.;c:\php4\pear') in e:\sslroot\storessl\store\admin\includes\application_top.php on line 147

    and when i try to be a customer and login i get this

    CGI Error

    The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

    also get this error when trying to do anything with ssl,

    any one help???

    my site is www.rubberduckbathrooms.co.uk/store

  2. #2
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Re: ssl not working

    also noticed that when trying to login as customer it directs to the ssl server but trys the zc_install foulder but that is deleted.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: ssl not working

    If you get it working, please share.

    If you search this forum for "fasthosts" you'll find lotsa discussion about the impossibilities of SSL and fasthhosts.
    Here's one:
    http://www.zen-cart.com/forum/showthread.php?t=39718

    Here's some more:
    http://www.zen-cart.com/forum/search...uery=fasthosts
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Re: ssl not working

    so far i have i have been told by fast host that is a coding problem and they do not offer a coding support service.

    from other people on here i have had a blatent it wont work on fasthosts at all.

    i feel i have wasted a month now on this

  5. #5
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Re: ssl not working

    reply from fast hosts

    Thank you for your email regarding ZenCart/OsCommerce.

    Your domain, rubberduckbathrooms.co.uk, is being hosted on one of our PHP5 servers.

    We are aware that you will need to make the following change :

    Change in catalog/admin/includes/classes/upload.php on line 31 change
    $this = null;
    to
    //$this = null;

    You will also need to make sure that your installation is configured to run with register_globals switched off.

    There are posts on the osCommerce forums from users who have installed the product sucessfully on our systems. The
    following is an example of one such :

    http://forums.oscommerce.com/index.php?showtopic=232372&view=findpost&p=964638

    We do not provide any direct support for 3rd party products, and I would recommend that you look through the forums
    for additional help using the product.

  6. #6
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Re: ssl not working

    anyone know what this means?? i have looked in the file as mentioned and there is no such line of code on line 31

    any help??

    line 23 -40

    class upload {
    var $file, $filename, $destination, $permissions, $extensions, $tmp_filename, $message_location;
    function upload($file = '', $destination = '', $permissions = '777', $extensions = '') {
    $this->set_file($file);
    $this->set_destination($destination);
    $this->set_permissions($permissions);
    $this->set_extensions($extensions);
    $this->set_output_messages('direct');
    if (zen_not_null($this->file) && zen_not_null($this->destination)) {
    $this->set_output_messages('session');
    if ( ($this->parse() == true) && ($this->save() == true) ) {
    return true;
    } else {
    // self destruct

  7. #7
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: ssl not working

    You will find that there is a known history of problems running dynamic systems on fasthosts servers because of their split configuration for SSL being on one server, and the main account being on another server .... esp when they're entirely different platforms as well.

    Your problem has nothing to do with an upload class.

    The problem is that the SSL traffic is looking for files and configuration data, but is unable to locate it due to configuration problems, both at the server side and in your configure.php files.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Re: ssl not working

    so how do you fix this??

  9. #9
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: ssl not working

    You can never 'fix this' with Fasthosts - unless they change their whole way of operating.

    As has been pointed out by Dr Byte they use one server for the website and another for all SSL traffic. The website can either be on a Apache server running Linux (as in your case), or a a Windows server with IIS. The website servers usually run with Register Globals 'on' in php.ini, but the SSL servers run with it 'off' and those servers are always Windows with IIS.

    In your case your site is split between a Linux server and a Windows server - and you're paying extra for a shared ssl with a limited amount of folder space - and for something that doesn't work.

    The last reply from them shows that they haven't got a clue.

    Vger
    Quote Originally Posted by kitcorsa View Post
    so how do you fix this??

  10. #10
    Join Date
    Apr 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: ssl not working

    Here is how I got admin to work on the SSL system within Fasthosts.

    NOTE! I have only been using this for about an hour and I have not YET found any problems... So just incase, BACKUP!!!!!!

    admin/includes/configure.php

    Lines 29 to 36.
    define('HTTP_SERVER', 'https://vault2.secured-url.com/storessl');
    define('HTTPS_SERVER', 'https://vault2.secured-url.com/storessl');
    define('HTTP_CATALOG_SERVER', 'http://www.stores.com');
    define('HTTPS_CATALOG_SERVER', 'https://vault2.secured-url.com/storessl');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'true');
    define('ENABLE_SSL_ADMIN', 'true');

    changing storessl and stores to your domain etc.



    Skip down to lines 60 to 69
    define('DIR_FS_ADMIN', 'e:\\sslroot\\storessl\\admin\\');
    define('DIR_FS_CATALOG', 'e:\\sslroot\\storessl\\');

    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes\\languages\\');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images\\');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes\\modules\\');
    define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes\templates\\');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups\\');
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email\\');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download\\');


    Again changing the storessl to your thing.

    A couple of notes.....

    1. I now go direct to the SSL admin page... No point in going ot the other one. In fact, I have deleted Admin on the non ssl site.
    2. I HAVE changed the bottom few lines... I have had to change "/" to "\\" for windows.
    3. BACKUP. Or at least rename files to ensure that neither of us has done it wrong.





    If I have made any mistakes, I apologise... I am actually a Zen Newbie...

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. SSL install on dedicated fasthosts centos server = blank screen for http???
    By garethrooney in forum Installing on a Linux/Unix Server
    Replies: 11
    Last Post: 10 Nov 2009, 02:05 AM
  2. How to Implement Fasthosts SSL?
    By robfink in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 25 Jul 2009, 10:10 AM
  3. Testing Shared SSL with Fasthosts
    By sjk1000 in forum General Questions
    Replies: 13
    Last Post: 1 Dec 2008, 12:27 AM
  4. SSL Not Working
    By spetznaz2588 in forum Basic Configuration
    Replies: 3
    Last Post: 30 Jul 2008, 03:44 PM
  5. UK Fasthosts and 10mb SSL
    By dml311071 in forum General Questions
    Replies: 0
    Last Post: 30 Jan 2007, 12:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg