View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003196 | OXID eShop (all versions) | 2. ----- eShop backend (admin) ----- | public | 2011-08-29 10:11 | 2012-12-07 13:59 |
Reporter | dklingmann | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | unable to reproduce | ||
Platform | Linux | OS | Debian Lenny | OS Version | - |
Product Version | 4.5.0 revision 34568 | ||||
Fixed in Version | 4.5.2 revision 38481 | ||||
Summary | 0003196: AJAX call to change variant fails | ||||
Description | when trying to select a variant on an article detail view I get the article view replaced by 'undefined' and a HTML response as following: Warning: ini_set() [function.ini-set]: A session is active. You cannot change the session module's ini settings at this time. in /admin/oxajax.php on line 690 Warning: Cannot modify header information - headers already sent by (output started at /admin/oxajax.php:690) in admin/oxajax.phpon line 717 Line 690 in this case is: 688: ini_set('session.name', 'sid' ); 689: ini_set('session.use_cookies', 0 ); 690: ini_set('session.use_trans_sid', 0); 691: ini_set('url_rewriter.tags', ''); 692: ini_set('magic_quotes_runtime', 0); This practically makes the variant selector unusable. I would appreciate any help. | ||||
Tags | AJAX | ||||
Theme | Both | ||||
Browser | Google Chrome | ||||
PHP Version | 5.2.6 | ||||
Database Version | 5.5 | ||||
|
Reminder sent to: dklingmann Hello, just to be sure, you try to select variant in frontend products details page, or in admin products details Main tab? Also, could you please let us know, if you experience same problem on our demoshop? http://demoshop.oxid-esales.com/professional-edition/ greetings, |
|
Hi there, well I talk about the variant selector in the frontend. When I try to comment out those lines the AJAX request seems to be stuck in an infinite loop of index.php location redirects. The problem is not occuring in any of the demo shops. Cheers |
|
We experince exactly the same Problem on one Webserver. But we use the same code on other Servers and dont have any Problems. On this Server we use php 5.3.6 I compared the php.ini settings with working servers but no differences except in the session saving path. but for me it really looks like a Webserver configuartion problem. any help appreciated |
|
@developers: please investigate |
|
Reminder sent to: dklingmann, Reignman Hi, Could you please give us access to your server (or any test environment where you also can reproduce this issue) where we could debug this case? As we cannot reproduce that localy. If you can - please send email to our support ([email protected]) with access info and link to this bug entry. Best regards, |
|
We upgraded from 4.5.0 to 4.5.2 and the variant selector seems to work now although the update broke a lot of other stuff... |
|
Reminder sent to: dklingmann Hi, Thanks for feedback that the case works in 4.5.2. And please - write all the issues what you experienced after update as bug entries and we will investigate these. Best regards, |
|
HA! I think I found the problem. The AJAX request seems to fail when the x-requested-with header in the AJAX request is set to XMLHTTPRequest. Removing the request header in oxajax.js with $.ajaxSettings.beforeSend=function(xhr){ xhr.setRequestHeader('X-Requested-With', {toString: function(){ return ''; }}); }; resolved our problems. I don't know exactly why it did resolve it but yea, that's how it works for us. |
|
Reminder sent to: dklingmann Shop has no special behaviour in "XMLHttpRequest" case, so your problem may be related to server configuration, custom modules or third party software you use on server. If you could provide us access data we could review issue. I would not like to include your fix in shop install without knowing real reason why it happens. Could you setup some test environment? |
|
Current project is still in confidential state so we can't provide any access. We might be able to setup a test environment but probably not this month as time is currently only sparingly available. |
|
Reminder sent to: dklingmann so please, when you will be able to give us test environmen - reopen this bug entry, thnx, nom i'm closing it with status "cant reproduce"! |
|
p.s. /admin/oxajax.php has no connection with variant selector in details page |