Current time: 05-17-2024, 10:37 PM Hello There, Guest! (LoginRegister)


Post Reply 
Umstellung auf ispCP geht xtCommerce nicht!
Author Message
DIGIMan Offline
Junior Member
*

Posts: 17
Joined: Oct 2008
Reputation: 0
Post: #1
Exclamation Umstellung auf ispCP geht xtCommerce nicht!
Hallo, seit der Umstellung von VHCS2 auf ispCP Omega geht der xtCommerce Shop mit Freundlichen URLs nicht mehr!
Habe schon das ganze Internet durchsucht, aber keine funktionierende Lösung gefunden.

Habe mein Server gecheckt ob mod_rewrite aktiviert ist, das ist OK.
Dann habe ich folgende .htaccess im htdocs-Ordner:

PHP Code:
# COMMENT THE FOLLOWIN LINE, IF YOU GET AN ERROR 500 (Internal Server Error)
# AllowOverride All
# Options +FollowSymlinks  +SymLinksIfOwnerMatch
Options +FollowSymLinks
# Redirect /google.html http://www.google.de

AddHandler php-fastcgi .html
RewriteEngine On


# SET THE FOLLOWING LINE, IF YOUR SHOP RUNS IN AN SUBFOLDER. 
# ALSO IF YOU GET AN ERROR 500 (Internal Server Error) ON SOME SYSTEMS
# EXAMPLE: If your shop is located at www.yourdomain.com/shop set the following line: "RewriteBase /shop"
RewriteBase /

# Don't use RewriteEngine in System-Subfolders
#RewriteRule ^admin|cache|callback|download|export|images|import|inc|includes|media|lang​|pub|templates|templates_c - [L] 

# Onlie use Rewrite Engine, if Directory or File not exist
RewriteCond %{REQUEST_FILENAME} -[OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule 
^(.+) - [PT,L]

# Rule: Product Info
RewriteRule ^(.*)products\/(.+)\.html$             product_info.php?bluegatemapto=product&linkurl=$[qsappend,L]

# Rule: Content
RewriteRule ^(.*)content\/(.+)\.html$             shop_content.php?bluegatemapto=content&linkurl=$[qsappend,L]

# Rule: Category Listing
RewriteCond %{REQUEST_FILENAME} !\.html$
RewriteRule ^(.*)$                     index.php?bluegatemapto=category&linkurl=$[qsappend,L]

# Route Error Pages to sitemap
# ErrorDocument 400 /sitemap.html?error=400
# ErrorDocument 401 /sitemap.html?error=401
# ErrorDocument 402 /sitemap.html?error=402
# ErrorDocument 403 /sitemap.html?error=403
# ErrorDocument 404 /sitemap.html?error=404
# ErrorDocument 500 /sitemap.html?error=500 

Aber wenn ich Schuchmaschinenfreundliche URLs aktiviere, gehts nichts und ich lande immer auf der Startseite. Login ich auch nicht mehr möglich...

Habe mir mal die PHPINFO() anzeigen lassen, aber dort finde ich auch nichts mit mod_rewrite...

Wäre über Lösungsvorschläge dankbar!
(This post was last modified: 02-05-2009 08:19 PM by DIGIMan.)
02-05-2009 08:16 PM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #2
RE: Umstellung auf ispCP geht xtCommerce nicht!
Hi,

ist das eine aktuelle Xt-Commerce Version .. also welche ?
02-05-2009 08:23 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #3
RE: Umstellung auf ispCP geht xtCommerce nicht!
Hast du was im error.log?
02-05-2009 08:25 PM
Visit this user's website Find all posts by this user Quote this message in a reply
DIGIMan Offline
Junior Member
*

Posts: 17
Joined: Oct 2008
Reputation: 0
Post: #4
RE: Umstellung auf ispCP geht xtCommerce nicht!
Benutzen xtc 3.0.4 SP2.1 und einen Fehler kann ich nicht sehen!
Meine domain.error.log ist leer oder muß ich woanders schauen?
02-05-2009 08:34 PM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #5
RE: Umstellung auf ispCP geht xtCommerce nicht!
blöde idee aber :

teste mal kurz mit register_globals = on (danach ganz fix wieder ausmachen Smile )
02-05-2009 08:35 PM
Visit this user's website Find all posts by this user Quote this message in a reply
DIGIMan Offline
Junior Member
*

Posts: 17
Joined: Oct 2008
Reputation: 0
Post: #6
RE: Umstellung auf ispCP geht xtCommerce nicht!
Habe es mit register_globals = on probiert, aber kein Erfolg zu sehen!
02-05-2009 08:41 PM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #7
RE: Umstellung auf ispCP geht xtCommerce nicht!
ok. dann lass dir mal in der applikation_top.php die globalen Variablen
$_GET
$_POST
$_SERVER

ausgeben (evt. mit var_dump oder print_r)
02-05-2009 08:59 PM
Visit this user's website Find all posts by this user Quote this message in a reply
DIGIMan Offline
Junior Member
*

Posts: 17
Joined: Oct 2008
Reputation: 0
Post: #8
RE: Umstellung auf ispCP geht xtCommerce nicht!
Ich habe ein Login-versuch mit den Einstellung gestartet und bekomme folgendes zurück:

Code:
Array
(
)
Array
(
[email_address] => demo@xtadmin.de
[password] => demoshop
[x] => 0
[y] => 0
)
Array
(
[PHPRC] => /var/www/fcgi/xtadmin.de/php5/
[PHP_FCGI_CHILDREN] => 2
[PATH] => /usr/local/bin:/usr/bin:/bin
[PWD] => /var/www/fcgi/xtadmin.de
[SHLVL] => 0
[PHP_FCGI_MAX_REQUESTS] => 500
[FCGI_ROLE] => RESPONDER
[HTTP_ACCEPT] => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-powerpoint, application/msword, */*
[HTTP_REFERER] => http://demo.xtadmin.de/
[HTTP_ACCEPT_LANGUAGE] => de
[CONTENT_TYPE] => application/x-www-form-urlencoded
[HTTP_UA_CPU] => x86
[HTTP_ACCEPT_ENCODING] => gzip, deflate
[HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30618)
[HTTP_HOST] => demo.xtadmin.de
[CONTENT_LENGTH] => 55
[HTTP_CONNECTION] => Keep-Alive
[HTTP_CACHE_CONTROL] => no-cache
[HTTP_COOKIE] => cookie_test=please_accept_for_session; XTCsid=3a80ad0d53d95faaeca8208531ab4f85; cookie_test=please_accept_for_session
[SERVER_SIGNATURE] =>
Apache/2.2.3 (Debian) mod_ssl/2.2.3 OpenSSL/0.9.8c Server at demo.xtadmin.de Port 80


[SERVER_SOFTWARE] => Apache/2.2.3 (Debian) mod_ssl/2.2.3 OpenSSL/0.9.8c
[SERVER_NAME] => demo.xtadmin.de
[SERVER_ADDR] => 217.13.197.245
[SERVER_PORT] => 80
[REMOTE_ADDR] => 77.186.63.125
[DOCUMENT_ROOT] => /var/www/virtual/xtadmin.de/demo/htdocs
[SERVER_ADMIN] => webmaster@xtadmin.de
[SCRIPT_FILENAME] => /var/www/virtual/xtadmin.de/demo/htdocs/login.php
[REMOTE_PORT] => 52752
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => POST
[QUERY_STRING] =>
[REQUEST_URI] => /login.php/action/process
[SCRIPT_NAME] => /login.php
[PATH_INFO] =>
[PATH_TRANSLATED] =>
[ORIG_PATH_TRANSLATED] => redirect:/index.php/process
[ORIG_PATH_INFO] => /action/process
[ORIG_SCRIPT_NAME] => /login.php
[ORIG_SCRIPT_FILENAME] => /var/www/virtual/xtadmin.de/demo/htdocs/login.php
[PHP_SELF] => /login.php
[REQUEST_TIME] => 1233796387
[argv] => Array
(
)

[argc] => 0
)

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/virtual/xtadmin.de/demo/htdocs/includes/application_top.php:3) in /var/www/virtual/xtadmin.de/demo/htdocs/includes/application_top.php on line 286
(This post was last modified: 02-05-2009 09:17 PM by DIGIMan.)
02-05-2009 09:15 PM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #9
RE: Umstellung auf ispCP geht xtCommerce nicht!
ok - $_GET Variable ist leer...
das sollte schon mal nicht sein - da die meisten rewrite-regeln per Get die eigentlichen Parameter an die Anwendung übermitteln.

Sprich no GET no Rewrite no SEO


variables_order=EGPCS
in der entsprechenden php.ini könnte helfen.

Ansonsten war da noch was ...
(This post was last modified: 02-06-2009 01:29 AM by ephigenie.)
02-06-2009 01:19 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)