Jump to content

convict

Member
  • Posts

    1,302
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by convict

  1. the correct permissions are not there when they clearly are?

    Try Modify interface between keyboard and seat, maybe it says that first interface was clearly erroneous :)

    >>>part of Read me file>>>

    Visit https://www.cubecart.com/build/

    This will create two files for you:

    1. global.inc.php

    2. dump.sql

    <<<part of Read me file<<<

    Just look at "Read me.txt" - part of CubeCart package and READ it carefully

  2. Try this....

    includes/sslSwitch.inc.php search for

    if((isset($enableSSl) && $enableSSl==1) OR (isset($sslPages[$currentPage]) && $sslPages[$currentPage]==1)) { 
    
    
    
    	$enableSSl = 1;
    
    
    
    } else { 
    
    
    
    	$enableSSl = ""; 
    
    
    
    }

    second row....change $enableSSl = 1 to $enableSSl = 0,

    set SSL no in CC ACP,

    change $enableSSl = 0 back to.......

    write correct paths, URL in CC ACPs SSL section (frontend doesnt work on SSL too).

    PS: CC3 into root directory, is NOT a well choice yet

    poll? ;)

  3. I have spent almost 100 hours over the last four days trying to do something similar, backing up Mysql and loading it into a database on a diferent server - every "simple" instruction that I have tried to follow has only got me further into a frustarting mess.
    Its easy, but you have to know WHAT TO DO and HOW TO DO - practice only

    I am now happily starting with a fresh CC install and modifying the site by copying the original via ftp, what I thought was going to take me ages will not take nearly as long as messing around with the Mysql files.
    I have made this:

    1. Prepare new MySQL databse

    2. FULL BACKUP of CC3 database (about 100kB SQL file) and loading it into new DB

    3. Copy of all necessary files from 'old' to a 'new' location

    4. Write right paths and DB paramaters - global.inc.php

    5. Because of right SSL switching, deactivate ssl switch [sslSwith.inc.php], log in as admin (new location), write right SSL paths, activate ssl swith

    job time: 5 minutes

    Both of DB, front/backend are up and fully operational (SSL switch too) ;)

    PS: it was made on the same server

    PS2: maybe 'your details' how to do vrakas

  4. Once exported backing up would/should be straight forward or do I need to watch out for anything?

    Always think twice before you are attempting to restore - which version of MySQL was backup made, default charset of the target DB...table names prefix (if any)...charset of SQL file and default charset in phpMyadmin.

    in the nature of fiddys 'talk': try restoring it to a new db as soon as possible...but remember reflections above

  5. But in general I think if your server doesnt support PHP sessions, you will not be able to login to the admin panel. Anyone can correct me if I am wrong.

    You are absolutely right.

    No alternate code, becase of auth.inc.php

    session_start();
    
    if(!isset($_SESSION['ccAdmin'])){
    
    	header("Location: ".$GLOBALS['rootRel']."admin/login.php?goto=".currentPage());
    
    	exit;

  6. Open skins/Classic/styleSheets/layout.css.

    All you need is in body section.

    pageBg.jpg black color image 10 x 548 px => height of black background is 548px because of background-repeat: repeat-x (repeat horizontally); background-position: top;

    background-color: #A5A5A5 => grey background under copytight notice

    Wanna black whole background?

    body {
    
    	margin: 5px;
    
    	background-color: black;
    
    }

    :on2long:

  7. i actually had the same problem with the sslSwitch.inc.php file

    Notice: Undefined index: HTTPS in /home/jbmascx/public_html/cubecart/includes/sslSwitch.inc.php on line 71

    Notice: Undefined index: HTTPS in /home/jbmascx/public_html/cubecart/includes/sslSwitch.inc.php on line 79

    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/jbmascx/public_html/cubecart/includes/sslSwitch.inc.php:71) in /home/jbmascx/public_html/cubecart/admin/includes/auth.inc.php on line 36

    Warning: Cannot modify header information - headers already sent by (output started at /home/jbmascx/public_html/cubecart/includes/sslSwitch.inc.php:71) in /home/jbmascx/public_html/cubecart/admin/includes/auth.inc.php on line 39

    i resolved it by just adding this statement in the sslSwitch.inc.php file before line 71

    if(isset($_SERVER["HTTPS"]))

    and it seems to work.  I'm on a server that doesn't support ssl yet so maybe that's why it can't find that variable

    No, this is not the same problem.

    Generally - u are correct, but high level reporting is almost not necessary. :D

  8. A lot of alternatives ..... open skins/Killer/styleSheets/layout.css find this

    #subSurround {
    
    	padding-left: 14px;
    
    }

    replace 14 with 0 ... or just add 14px blank box to the left of your image :angry: ... or...many css changeovers :D

  9. Warning: Array to string conversion in /web/home/httpd/vhosts/haltonmusic.co.uk/httpdocs/store/language/en/lang.inc.php on line 2234

    Warning above is reason of your trable. Whole $lang array is 'destroyed' on line 2234. This is curious because of the fact that front end works, admin login screen too :D .

    Im expecting that:

    1. lang.inc.php is unmodified.

    2. your screen dump ACP - this is first 'screen' after login

    Could you make another admin login for me (no super user)? Please, send me a PM with...

×
×
  • Create New...