Jump to content

convict

Member
  • Posts

    1,302
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by convict

  1. I've noticed a difference in the level links not being displayed:

    Before:  $view_cat->assign("CURRENT_DIR",getCatDir($currentCat[0]['cat_name'],$currentCat[0]['cat_father_id'], $currentCat[0]['cat_id'], $link=TRUE));

    gives:

    Products in: /Candles/Aromatherapy/Bergamot Lime

    with the first 2 levels being links

    After:

    $view_cat->assign("CURRENT_DIR",getCatDir($currentCat[0]['cat_name'],$currentCat[0]['cat_desc'],$currentCat[0]['cat_father_id'], $currentCat[0]['cat_id'], $link=TRUE));

    gives:

    Products in: /Bergamot Lime

    does not show the two cateories above

    May or may not be related, I have not been able to see my category text yet and am in the process of trying to track that down.

    Suggestions?

    Dont make this $view_cat->assign..... replacement and link level will be ON.

  2. On most Version of Cpanel One Click And you can backup your entire webserver, It will run in the background and then send you a link to the backed-up files once complete...

    Yes, this is the only way for backup in CC3 in the future vers... :alien:

  3. My Windows Server 2003 uses the environment variable 'OS' to identify the operating system. At the command prompt, 'echo %os%' returns 'Windows_NT'.
    You are right.

    This should be in PHP _ENV variable [output of phpinfo() function].os.jpg

    Do a simple checking.

    function win() {

    if(eregi("windows",$_ENV['TERM']) OR eregi("windows",$_ENV['OS'])){

    If Windows_NT is a value of $_ENV['OS'], function win() must always return TRUE value.
  4. Well I think one of the really cool features in V2 was 'Backup' ...and one of the missing links that keeps me from moving on to 3! Please consider it Brooky - even make it an install option.

    Who else would like this?

    Backup feature is missing, but for security reason :wub:

  5. I strongly suggest the creators of CubeCart have a look att the install script, because for Windows Servers it seems to work much better without the built in permissions check.
    Function i have mentioned is responsible for this.

    Can you post here what ENVIROMENT variable is giving value like windows in your system (no paths, url...etc)? Search for variable beginning like _ENV[ (phpinfo or Server info in CC3 Admin Control Panel).

    As far as i know, for linux enviroment is $_ENV['TERM'] allways here and $_ENV['OS'] for win, generally.

    Other ways to check for OS:

    - $_ENV["windir"] checking, PHP for win only includes this enviroment variable,

    - using $_SERVER['DOCUMENT_ROOT'] to check if the path contians 'non-standard' slashes,

    - value checking of built-in PHP constant PHP_OS. This is THE MOST PREFERED METHOD

    .....

    By using just one of methods i have mentioned results can be unreliable for some reasons (like in this case). Its recomended to use some kinds of combinations :wub:

    This can be a suggestion to Brooky :lol:

  6. Again: how to upgrade without effecting db at all, getting the benefit of the upgrade without having to re-enter all inventory and store settings as stored in the db?

    Uff i have to repeat that again - just follow CubeCart v3 3.0.5 to 3.0.6 UPGRADE INSTRUCTIONS (upgrade/Upgrade from 3.0.5 to 3.0.6.txt in CubeCart3.0.6.zip installation pckage). No manual nor automatic installation.

    Manual installation creates db.sql and global.inc.php - automatic doesnt. Automatic is runnig from your site where cubecart install folder resides, but result is the same: CLEAN Cube Cart installation. DO NOT RUN automatic/manual installation.

    This is as clear as daylight, is NOT? ;)

    PS: read this.

  7. Whats the problem? Just follow CubeCart v3 3.0.5 to 3.0.6 UPGRADE INSTRUCTIONS (upgrade/Upgrade from 3.0.5 to 3.0.6.txt in CubeCart3.0.6.zip installation pckage).

    Automatic installation means CLEAN Cube Cart installation in other words - brand new clean database (even in case Drop Tables checked box).

×
×
  • Create New...