PeteW1959

Member
  • Content count

    99
  • Joined

  • Last visited

Community Reputation

21 Excellent

Recent Profile Visitors

1,939 profile views
  1. Admin panel in plain text

    I've been looking into this some more, and have discovered that the value of $STORE_URL is wrong; it has the admin file name added to the store url. I have checked the store url in Store Settings and it is correct. A further bit of digging and I think the value gets assigned in classes\seo.class.php line 710:- $store_url = (CC_SSL) ? $GLOBALS['config']->get('config', 'ssl_url') : $GLOBALS['config']->get('config', 'standard_url'); This is as far as I got with my limited knowledge of php. Can anyone take it from here?
  2. Admin panel in plain text

    CubeCart is in a subdomain, not a subdirectory, and my development store (in a different subdomain) is working correctly. I am not using a shortcut, just entering the URL in the address bar. Both copies of global.inc.php are the same, apart from the different admin filenames and DB details, which are correct.
  3. Admin panel in plain text

    I had already tried that, and no difference. I also checked for correct entries in global.inc.php
  4. Admin panel in plain text

    I haven't used CC for a few months, and during that time we have changed the home site from a custom php application to Wordpress. I came to log in today to look at using CC again and the admin panel is in plain text. It was on 6.1.5 so I upgraded to 6.1.12 but that hasn't fixed it. The CC logo is showing as broken, so I looked at the image address, which doesn't look correct (exact URL and admin file names hidden!) http://shop.mysite.co.uk/admin_XXXXXX.php/admin_YYYYYYY/skins/default/images/logo.cubecart.png I have another working instance of CC and that doesn't have admin_XXXXXX.php in the address Any idea how to fix this?
  5. [Resolved] URGENT! Admin page blank

    I'VE FIXED IT!!!!! I tried some pretty extreme experimentation to try to narrow it down. First of all I pointed the working development installation to the live DB by editing global.inc.php, and I was able to access the control panel, proving my DB is OK. I was then going to back up the live shop file structure to my PC and copy the development file system to the non-working shop, however I got an error when downloading the admin_XXXX folder. Turns out it was corrupt, and when Windows got hold of it, it didn't recognise it as a folder; it thought it was a file. I copied the admin_ZZZZZ folder from the working development store, renamed it and bingo, I'm in. Thanks for all your efforts today Brian. I know that your suggestions didn't solve it, but it eliminated an awful lot of stuff, and I have learnt loads about php/CubeCart.
  6. [Resolved] URGENT! Admin page blank

    Yes, it is an exact copy I made from the live store after upgrading to 6.1.5, and besides it has been working since the upgrade (performed on 6th March); it is only sometime in the last week it has gone wrong.
  7. [Resolved] URGENT! Admin page blank

    No, TSO Host are saying it is a CubeCart issue, however I am getting exactly the same warnings in the working store.
  8. [Resolved] URGENT! Admin page blank

    Output from admin script:- Filename: /var/sites/c/ccdev.whitbygothweekend.co.uk/public_html/admin_ZZZZZZ.php Directory: /var/sites/c/ccdev.whitbygothweekend.co.uk/public_html Path: /var/sites/c/ccdev.whitbygothweekend.co.uk/public_html Warning: ini_set(): Cannot change zlib.output_compression - headers already sent in /var/sites/c/ccdev.whitbygothweekend.co.uk/public_html/ini.inc.php on line 30 output from index.php Filename: /var/sites/c/ccdev.whitbygothweekend.co.uk/public_html/index.php Directory: /var/sites/c/ccdev.whitbygothweekend.co.uk/public_html Path: /var/sites/c/ccdev.whitbygothweekend.co.uk/public_html I am wondering if the directory name I see from Filezilla (subdomains/shop), is an alias for shop.whitbygothweekend.co.uk/public_html.
  9. [Resolved] URGENT! Admin page blank

    Output from admin script:- Filename: /var/sites/s/shop.whitbygothweekend.co.uk/public_html/admin_XXXXXX.php Directory: /var/sites/s/shop.whitbygothweekend.co.uk/public_html Path: /var/sites/s/shop.whitbygothweekend.co.uk/public_html Warning: ini_set(): Cannot change zlib.output_compression - headers already sent in /var/sites/s/shop.whitbygothweekend.co.uk/public_html/ini.inc.php on line 34 Warning: session_start() [function.session-start.php]: Cannot send session cache limiter - headers already sent (output started at /var/sites/s/shop.whitbygothweekend.co.uk/public_html/admin_XXXXXXX.php:20) in /var/sites/s/shop.whitbygothweekend.co.uk/public_html/classes/session.class.php on line 640 Warning: Cannot modify header information - headers already sent by (output started at /var/sites/s/shop.whitbygothweekend.co.uk/public_html/admin_XXXXXXX.php:20) in /var/sites/s/shop.whitbygothweekend.co.uk/public_html/classes/session.class.php on line 535 test1test3test4template: login.php template_directories: Array ( [0] => /var/sites/s/shop.whitbygothweekend.co.uk/public_html/admin_XXXXX/skins/default/ ) /var/sites/s/shop.whitbygothweekend.co.uk/public_html /var/sites/s/shop.whitbygothweekend.co.uk/public_html output from index.php Filename: /var/sites/s/shop.whitbygothweekend.co.uk/public_html/index.php Directory: /var/sites/s/shop.whitbygothweekend.co.uk/public_html Path: /var/sites/s/shop.whitbygothweekend.co.uk/public_html
  10. [Resolved] URGENT! Admin page blank

    Yes, the control panel automatically creates a new folder in subdomains. .htaccess is the same for the live shop and development shop. global.inc.php looks OK, adminFile and adminFolder are both correct, as are the DB details (but the storefront wouldn't work if the DB details were wrong). I am beginning to think I need to pay for a month of CC support and let them sort this out. It is all getting way beyond my skill level!
  11. [Resolved] URGENT! Admin page blank

    It isn't a Cpanel account. This is a screenshot of the subdomains page of control panel. However I can't see how any paths can have changed; I haven't changed them, and TSO Host have confirmed that there haven't been any configuration changes in the last week.
  12. [Resolved] URGENT! Admin page blank

    this is a screenshot from Filezilla
  13. [Resolved] URGENT! Admin page blank

    test1test3test4template: login.php template_directories: Array ( [0] => /var/sites/s/shop.whitbygothweekend.co.uk/public_html/admin_XXXXXX/skins/default/ ) /var/sites/s/shop.whitbygothweekend.co.uk/public_html /var/sites/s/shop.whitbygothweekend.co.uk/public_html
  14. [Resolved] URGENT! Admin page blank

    Parse error: syntax error, unexpected ';' in /var/sites/s/shop.whitbygothweekend.co.uk/public_html/admin_XXXXXX.php on line 51 Line 51 is this one:- echo realpath(dirname(__FILE__)."<br/>"; but I realise the error may not be there, however I can't see any extra ';' anywhere.
  15. [Resolved] URGENT! Admin page blank

    I've redacted the admin folder name for security, but it is the folder name set in global.inc.php. However there is no such folder /var/sites/s/shop.whitbygothweekend.co.uk/public_html, CC is in the root of the subdomain and there is no public_html