×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Javascript confliction?

Javascript confliction? 12 years 8 months ago #15797

  • masanori oyama
  • masanori oyama's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Hi team,

Thank you for nice component.

I have installed compojoomcomponent and k2 plugin.
Then,,, I've got following small problem.

When registered users post a comment, they need to refresh page manually to see submitted comment.

When a guest posts, the page refreshs automatically.


I think I have java confliction but no idea how to fix it.
Would you please check my test site below and give a suggestion?

4610joomla.com/component/comprofiler/login.html
(sorry but it's japanese only)
You can login by Username=test_1 password test_1

Re: Javascript confliction? 12 years 8 months ago #15798

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hm, that is actually really strange. There are no js conflicts on the page, there is no response error...
Can you make a backup of that site and give it to me? I can then debug it locally and hopefully figure out what is going on there.

Kind regards,
Daniel

P.S: Use akeebabackup for that :)

Re: Javascript confliction? 12 years 8 months ago #15800

  • masanori oyama
  • masanori oyama's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Hi Daniel,

Thank you for your help:)

I've sent a PM to daniel@compo...... to send akeebabackup file.

Best,

Re: Javascript confliction? 12 years 8 months ago #15801

  • masanori oyama
  • masanori oyama's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Hi Daniel,

I found one thing.

I am using this line on my .htaccess at root folder.
(I am using rental server.)

{code}AddHandler application/x-httpd-php53cgi .php{/code}

When I disabled this line, it works OK.
When I enabled... hm, got problem.

Re: Javascript confliction? 12 years 8 months ago #15803

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I'm downloading the backup - thanks.

As for this line - this turns php 5.3 on, right? My dev server runs php 5.3, our demo server runs php 5.3 and compojoom.com is also on 5.3 . So I'm not exactly sure why this line would kill the ajax functionality.

I'll let you know if I find something in the backup you gave me.

Daniel

Re: Javascript confliction? 12 years 8 months ago #15804

  • masanori oyama
  • masanori oyama's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Hi Daniel,

Thank you.
That line makes the sever run cgi mode.

I do not know why but the ajax is good with apache module mode but not with cgi-mode.

Re: Javascript confliction? 12 years 8 months ago #15808

  • masanori oyama
  • masanori oyama's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Dear Daniel,

Now I am sure that this is my side problem so that you do not need to work for.
(CGI mode issue)


Thanks again and I appreciate your future assistance.

If you could, I would like you to add an option that allows auto page refresh function after post.

Best
  • Page:
  • 1
Time to create page: 0.106 seconds