Ho seguito il consiglio di un utente del forum che mi ha consigliato di postare qua il mio problema con un file php per un sito e-commerce. Bene ecco il mio problema......Dopo aver trasferito opencommercio2.2ms2 sul mio sito web, e inserito il file sql sul mysql, il sito è partito bene, solo con un errore che mi perseguita da qualche settimana...I link del sito non funzionano! O meglio se clicco in una categoria, o in un qualsiasi collegamento (ovviamente neanche le immagini si aprono), il link che mi da è simile a questo:
http://www.miosito.comdir_ws_http_catalog (ecc.). C'è un file che si chiama configure, sicuramente il problema viene da li... ecco il codice:
Codice PHP:
<?php
// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER''http://www.miosito.com'); // eg, [url]http://localhost[/url] - should not be NULL for productive servers
define('HTTPS_SERVER''https://www.miosito.com'); // eg, [url]https://localhost[/url] - should not be NULL for productive servers
define('ENABLE_SSL'false); // secure webserver for checkout procedure?
define('DIR_WS_CATALOG''/catalog/'); // absolute path required
define('DIR_WS_IMAGES''images/');
define('DIR_WS_ICONS'DIR_WS_IMAGES 'icons/');
define('DIR_WS_INCLUDES''includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname
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_DOWNLOAD_PUBLIC'DIR_WS_CATALOG 'pub/');
define('DIR_FS_DOCUMENT_ROOT'$DOCUMENT_ROOT); // 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_FS_CATALOG'DIR_FS_DOCUMENT_ROOT DIR_WS_CATALOG);
define('DIR_FS_DOWNLOAD'DIR_FS_CATALOG 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC'DIR_FS_CATALOG 'pub/');

// define our database connection (i dati si riferiscono al server aruba.it)
define('DB_SERVER''62.149.xxx.xx'); // eg, localhost - should not be NULL for productive servers
define('DB_SERVER_USERNAME''Sqlxxxxxx');
define('DB_SERVER_PASSWORD''xxxxx');
define('DB_DATABASE''Sqlxxxx_1');
define('USE_PCONNECT''false'); // use persistent connections?
define('STORE_SESSIONS''mysql'); // leave empty '' for default handler or set to 'mysql'
?>
Dovendolo sistemare per far andare tutto sulla cartella principale del sito web e non su catalog, come devo configurarlo in modo che questo errore si risolva? Grazie per l'attenzione...