Jump to content

thdt98

Members
  • Content count

    97
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Thierry Dupont
  • Location
    UK
  • Website
  1. thdt98

    Stock Taking Cost 0.2

    Yes you did it twice I guess. Check if you have 2 table with the same name, if it is the case erease one.
  2. thdt98

    Stock Taking Cost 0.2

    Yes you are right you have to go into phpMyadmin. You have to open a query window (SQL button for instance) and placing into it the code 'Alter.....' and press go. The table should added. I think the best is to have a go. When I started last year I knew nothing in mySQL and php. I learned by try and error and with those forums. Maybe my install might be a little difficult for someone with no experience. Perhaps the contrib margin 2.6 would be easier. Anyway give it a go.
  3. thdt98

    Who's Online Enhancement 1.4

    But in 1.52 it is ok What's up doctor ? What is the difference in the session between 1.61 and 1.52 ? Why is it a such nightmare with this 1.61?
  4. thdt98

    Who's Online Enhancement 1.4

    I finally archive something after a lot of tweak in the include/admin. If I log in and put something in the cart I can see it in WOE But if I put something in the cart without log in I have a error message in in WOE Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /homepages/xx/xxxxx/htdocs/admin/includes/functions/database.php on line 45 select session_id, time_entry, time_last_click from whos_online where session_id='bff9df2d0f86c80c0a3a471b9ba27091' What's up doctor ?
  5. thdt98

    Who's Online Enhancement 1.4

    I have just noticed that if you change DIR_FS_CATALOG in the catalog include it affects as well the admin include.$ Is it ???
  6. thdt98

    Who's Online Enhancement 1.4

    No I have checked $session_data = file(DIR_FS_CATALOG . tep_session_save_path() . '/sess_' . $info); tep_session_save_path gives the path of the session with SESSION_WRITE_DIRECTORY which is the path in the database. The problem I have found that as I wanted to create a directory called sessions inside my root site and not sharing it with others I had to indicated the full path including the root path which is equal to DIR_FS_CATALOG. I will try to remove the tep_session_save_path which is not nice regarding the code.
  7. thdt98

    Who's Online Enhancement 1.4

    Yes it is that my problem: I did a hard coding debug in WOE which gives me: session_path end of file =/homepages/33/d123750328/htdocs/sessions/sess_8e6eccb2b37d9719846a919233eda8e8 DIR_FS_CATALOG = /homepages/33/d123750328/htdocs/ full path = /homepages/33/d123750328/htdocs//homepages/33/d123750328/htdocs/sessions/sess_8e6eccb2b37d9719846a919233eda8e8 You can see that if DIR_FS_CATALOG = something I have a repetition unless the calculation of the rest of the path is wrong. If in the admin/include I put DIR_FS_CATALOG ="" I have problem with images. How can I test the calculation of the session path?
  8. thdt98

    Who's Online Enhancement 1.4

    I think I found the culpit. With debug.php I found a problem with DIR_FS_CATALOG. It seems that the system only find the root as /homepages/xx/xxxxx/htdocs whatever I put in the configure.php even if I remove the define. Do you know where the DIR_FS_CATALOG could be define? It is rather intriguing??
  9. thdt98

    Who's Online Enhancement 1.4

    I found another one OSC Configur.php Debugger I think it is this the one. I am going to try it on at once.
  10. thdt98

    Who's Online Enhancement 1.4

    Pop the Top Is it the Output Queries Debug 1.6 contrib that you are referring to ? I successfully installed it but (sorry for the question) where should I look for ? I see a lot of info ( verry interresting for a another contrib too) but I do not see any major problem there.
  11. thdt98

    Who's Online Enhancement 1.4

    Thanks for the help. I will wait for this debug function and continuing in the meantime to use the version 1.52b which works fine for me. I cannot spent all my hours trying to make this contribution working. I will monitor this forum anyway.
  12. thdt98

    Who's Online Enhancement 1.4

    I wanted to add that: DIR_FS_CATALOG = /homepages/xxxx/xxxxxx/htdocs/ which is expected as it is set up in configure.php tep_session_save_path() = /homepages/xx/xxxxxx/htdocs/sessions/ Therefore DIR_FS_CATALOG is redundant. I do not think it is right for you ???
  13. thdt98

    Who's Online Enhancement 1.4

    Thanks again for the support I cannot do that as the root for my site is after htdocs. I am not allowed to create anything before htdocs. I did the modifications in the two configure.php I do not see anything much happening. WOE is still not happy with this session path, it's working without DIR_FS_CATALOG but I do not have the crash problem with DIRWS_IMAGES anymore. What is this debug process that Medvid is talking about ?
  14. thdt98

    Who's Online Enhancement 1.4

    I totally agree it should be done to the configuration but I think you should give as an example your own configuration system to see if it is matching. I also agree that when you have to play with cache,sessions and cookies it is more for specialist people. Thanks for your time guys Below my configuration system: session path in admin: /homepages/xx/xxxxxxx/htdocs/sessions cache path in admin: /homepages/xx/xxxxxxx/htdocs/cache/ I checked with FTP the session directory is created at the right place and files are created according the visites. I checked as well for the cache and I can only see file like also_purchased-english.cache331 created. I used the same settings for the sessions as you. configure.php in catalog / Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.mysite.com/'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', ''); define('DIR_WS_HTTPS_CATALOG', ''); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); //Added for BTS1.0 define('DIR_WS_TEMPLATES', 'templates/'); define('DIR_WS_CONTENT', DIR_WS_TEMPLATES . 'content/'); define('DIR_WS_JAVASCRIPT', DIR_WS_INCLUDES . 'javascript/'); //End BTS1.0 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . '/download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'xxxxxxx'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'xxxxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxx'); define('DB_DATABASE', 'xxxxxxxxxxx'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> <?php admin // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.tandcandy.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://www.mysite.com'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/homepages/xx/xxxxxxxx/htdocs'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/alacave/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/'); // '/catalog/' define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); 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_BACKUP', DIR_FS_ADMIN . 'backups/'); // Added for Templating define('DIR_FS_CATALOG_MAINPAGE_MODULES', DIR_FS_CATALOG_MODULES . 'mainpage_modules/'); define('DIR_WS_TEMPLATES', DIR_WS_CATALOG . 'templates/'); define('DIR_FS_TEMPLATES', DIR_FS_CATALOG . 'templates/'); // define our database connection define('DB_SERVER', 'xxxxxxxxxxxxxxxxxx'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'xxxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxxx'); define('DB_DATABASE', 'xxxxxxxxxxx'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?>
  15. thdt98

    Who's Online Enhancement 1.4

    It is already set up like that. For the other problem I setup my cache and session as you said but it is still not that. I have to remove DIR_WS_CATALOG to allow the system to find the path properly and about 3 minutes I have an error 404. It took a while to settle down when I did the change, I had some problem with the catalog. It seem ok now. I went back to 5.2 version, no problem there.
×