comercios Posted January 7, 2008 Share Posted January 7, 2008 Now with my problems here you post the same as posted on the other side of the forum. Hello Well todabia I have not received any response to the problem. I have been thinking that this problem can be my server because I have installed oscommerce and nuke on my PC with EASYPHP1-8. Both the store and the administration I operate correctly. Now I have my server in the configure.php admin's what I put down. You want to explain that my internet service provider has installed PHP 5. Although other stores have installed on my server but NOT MULTISHOP and Admin Works fine. My configure.php Admin. <? PHP / * OsCommerce, Open Source E-Commerce Solutions Http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License * / / / Set prefix for Php-MultiShop Define ( 'STORE_PREFIX', 'miprefijodebasedatos'); / / prefix for the store / / Define the webserver and path parameters / / * * = DIR_FS_ Filesystem directories (local / physical) / / * * = DIR_WS_ Webserver directories (virtual / URL) Define ( 'HTTP_SERVER', 'http://www.misitio.com'); / / eg, http://localhost - should not be empty for productive servers Define ( 'HTTP_CATALOG_SERVER', 'http://www.misitio.com'); Define ( 'HTTPS_CATALOG_SERVER',''); Define ( 'ENABLE_SSL_CATALOG', 'false'); / / secure webserver module for catalog Define ( 'DIR_FS_DOCUMENT_ROOT', '/ var / www / vhosts / misitio.com / httpdocs / mitiendaensubdominio /'); / / where the pages are located on the server Define ( 'DIR_WS_ADMIN', '/ misitio / admin /'); / / absolute path required Define ( 'DIR_FS_ADMIN', '/ var / www / vhosts / misitio.com / httpdocs / mitiendaensubdominio / admin /'); / / absolute pate required Define ( 'DIR_WS_CATALOG', '/ mitiendaensubdominio /'); / / absolute path required Define ( 'DIR_FS_CATALOG', '/ var / www / vhosts / misitio.com / httpdocs / mitiendaensubdominio /'); / / absolute path required 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 /'); / / Define our database connection Define ( 'DB_SERVER', 'localhost') / / eg, localhost - should not be empty for productive servers Define ( 'DB_SERVER_USERNAME', 'miusuariobasedatos'); Define ( 'DB_SERVER_PASSWORD', 'micontraseña'); Define ( 'DB_DATABASE', 'mibasededatos'); Define ( 'USE_PCONNECT', 'true'); / / use persisstent connections? Define ( 'STORE_SESSIONS', 'mysql'); / / leave empty''for default handler or set to 'mysql' > Well I want you to say that this is good for my configure.php that I have compared with another set of another shop oscommerce multishop and is not correct. Only that this bears the code prefix. Also, I have compared to configure.php the INCLUDE and is the same without the root admin of course. WORKS and the store is not ADMIN but nothing even wrong. Only page White. Now I have seen it. Htaccess with the code for the server php 5 let me see the page and is the same code that I have for NOT Multishop another shop, where I admin functions normally. The code. Htaccess is this: # $ Id:. Htaccess, v 1.2 2007/05/14 05:00:03 ilobachev Exp $ # # This is used with Apache WebServers # # For this to work, you must include the parameter 'Options' to # The AllowOverride Configuration # # Example: # # <Directory "/usr/local/apache/htdocs"> # AllowOverride Options # </ Directory> # # 'All' with also work. (This configuration is in the # Apache / conf / httpd.conf file) # The following makes adjustments to the SSL protocol for the Internet # Explorer browsers <IfModule Mod_setenvif.c> <IfDefine SSL> SetEnvIf User-Agent ".* MSIE .*" \ Nokeepalive ssl-unclean shutdown-\ Downgrade-1.0-response force-1.0 </ IfDefine> </ IfModule> # If Search Engine Friendly URLs do not work, try enabling the # Following Apache configuration parameter # # On AcceptPathInfo # Fix certain PHP Values # (Commented out by default to prevent errors occuring on certain # Servers) # # <IfModule Mod_php4.c> Php_value session.use_trans_sid # 0 Php_value register_globals # 1 # </ IfModule> <IfModule Mod_php5.c> On php_value register_globals On php_value register_long_arrays </ IfModule> <IfModule Mod_php4.c> On php_value register_globals On php_value register_long_arrays </ IfModule> With this code. Htaccess is to activate ON register_global to oscommerce can interpret php 5. Well be missing something more here. It is rare that the store is not and admin. I hope that someone will help me in this matter that I grew to 5 cm hair trying to find the solution to this problem. Yo I think that the problem is with the server. Although my server has enabled script, php and other modules. I `ve seen logs of my server and wacht this: owned by uid 0 in /var/www/vhosts/mysite.com/subdomains/myshopsubdomain/httpdocs/admin/includes/functions/sessions.php on line 110, referer: http://myshopsubdomain.mysite.com/install/install.php?step=8 [Mon Jan 07 12:48:52 2008] [error] [client 83.32.174.231] PHP Fatal error: Cannot re-assign $this in /var/www/vhosts/mysite.com/subdomains/myshopsubdomain/httpdocs/admin/includes/classes/upload.php on line 31, referer: Well Until then I hope that someone posteen Link to comment Share on other sites More sharing options...
web-project Posted January 7, 2008 Share Posted January 7, 2008 do you see the difference in paths? Define ( 'DIR_FS_DOCUMENT_ROOT', '/ var / www / vhosts / misitio.com / httpdocs / mitiendaensubdominio /'); / / where the pages are located on the serverDefine ( 'DIR_WS_ADMIN', '/ misitio / admin /'); / / absolute path required Define ( 'DIR_FS_ADMIN', '/ var / www / vhosts / misitio.com / httpdocs / mitiendaensubdominio / admin /'); / / absolute pate required Define ( 'DIR_WS_CATALOG', '/ mitiendaensubdominio /'); / / absolute path required Define ( 'DIR_FS_CATALOG', '/ var / www / vhosts / misitio.com / httpdocs / mitiendaensubdominio /'); / / absolute path required and /var/www/vhosts/mysite.com/subdomains/myshopsubdomain/httpdocs/admin/includes/functions/ Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you. Link to comment Share on other sites More sharing options...
comercios Posted January 7, 2008 Author Share Posted January 7, 2008 do you see the difference in paths?and Hi Now that you say that. I will try to change if work, but always in every shop automatically create this path Define ( 'DIR_FS_ADMIN', '/ var / www / vhosts / misitio.com / httpdocs / mitiendaensubdominio / admin /'); without "funtions" and work. that is because when i put www.mysite.com/admin automatically configure.php is and admin . Now i open the shop and the page is Blank. I will try to change , I will see what happens. We see later Link to comment Share on other sites More sharing options...
comercios Posted January 7, 2008 Author Share Posted January 7, 2008 Hi Now that you say that. I will try to change if work, but always in every shop automatically create this path Define ( 'DIR_FS_ADMIN', '/ var / www / vhosts / misitio.com / httpdocs / mitiendaensubdominio / admin /'); without "funtions" and work. that is because when i put www.mysite.com/admin automatically configure.php is and admin . Now i open the shop and the page is Blank. I will try to change , I will see what happens. We see later Note: I´ve erased configure.php and the problem is the same "PAGE IN BLANK" Somebody have Idea? Link to comment Share on other sites More sharing options...
comercios Posted January 7, 2008 Author Share Posted January 7, 2008 I need help for soluction this problem know somebody idea? Thanks. Link to comment Share on other sites More sharing options...
Avec Posted January 8, 2008 Share Posted January 8, 2008 You need to have the configure.php file for the site to open. Link to comment Share on other sites More sharing options...
comercios Posted January 9, 2008 Author Share Posted January 9, 2008 Hi I have file configure.php in path admin/includes/cofigure.php This configure.php is php multishop . I do not if something happen with apache of my server for this php multishop In my pc work perfectly with PHPEASY1-8 I have php 5. Somebody have Ideas? Link to comment Share on other sites More sharing options...
comercios Posted January 9, 2008 Author Share Posted January 9, 2008 Hi I have file configure.php in path admin/includes/cofigure.php This configure.php is php multishop . I do not if something happen with apache of my server for this php multishop In my pc work perfectly with PHPEASY1-8 I have php 5. Somebody have Ideas? Sorry I want to say that I have Php 5 in my server internet. maybe some error for this admin php multishop? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.