Advertisement:

Author Topic: Browser hangs when editing item  (Read 2722 times)

Horsetrader

  • Newbie
  • *
  • Posts: 24
Browser hangs when editing item
« on: October 31, 2015, 01:24:08 am »
Hi all,

Just installed Osclass classifieds the other day. Set up cats and uploaded a logo. Made a few changes through the admin panel but changed nothing code or theme wise. I registered as a user, no issues there. I posted and ad and after I submitted it I noticed the price was wrong (not the format I expected for entering the price). I clicked the "edit" button to change the price and the browser hung (IE11) until the browser reported the error pop-up that my site wasn't responding, recover webpage. Clicked recover webpage and it repeated the hang. Closed that out and tried with Chrome, same issue. Any ideas?

Many thanks

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: Browser hangs when editing item
« Reply #1 on: October 31, 2015, 04:12:44 pm »
Hi,

in case of bugs always turn on 'debug' first so you can intercept any possible errors.;)
Please supply all possible information related to your specific setup ie. what Osclass version you installed, what kind of hosting you're using.


Regards,
Eric

Horsetrader

  • Newbie
  • *
  • Posts: 24
Re: Browser hangs when editing item
« Reply #2 on: October 31, 2015, 08:59:42 pm »
Thanks Eric.

Using version 3.5.9, it's hosted with Siteground. I had downloaded OSClassifieds and was ready to install it when I noticed that it was offered for install in my hosting control panel. I installed it that way as I "assumed" Siteground knew it would run ok on their system.

Is "debug" in the admin area or is it a script add-in?

Thank you

Aficionado

  • Guest
Re: Browser hangs when editing item
« Reply #3 on: October 31, 2015, 09:01:49 pm »

Horsetrader

  • Newbie
  • *
  • Posts: 24
Re: Browser hangs when editing item
« Reply #4 on: October 31, 2015, 09:43:23 pm »
Thanks for the link. I put the code in the cfg file, logged in as the user and tried to update the listing. Got the hang, did it twice actually. Went to content and there is no error log. This is where I put the code;



<?php

/**
 * The base MySQL settings of Osclass
 */
define('MULTISITE', 0);

/** MySQL database name for Osclass */
define('DB_NAME', 'houseo20_oscl128');

/** MySQL database username */
define('DB_USER', 'xxxxxxx_oscl128');

/** MySQL database password */
define('DB_PASSWORD', '(xxxx.580');

/** MySQL hostname */
define('DB_HOST', 'localhost');

/** Database Table prefix */
define('DB_TABLE_PREFIX', 'wu2_');

define('REL_WEB_URL', '/class/');

define('WEB_PATH', 'http://mysite.com/class/');

define('OSC_DEBUG', true) ;
define('OSC_DEBUG_LOG', true) ;

?>




Thanks again

Aficionado

  • Guest
Re: Browser hangs when editing item
« Reply #5 on: October 31, 2015, 09:47:58 pm »
The log is located in folder oc-content. Is it there ? Empty ?


Horsetrader

  • Newbie
  • *
  • Posts: 24
Re: Browser hangs when editing item
« Reply #6 on: October 31, 2015, 10:01:48 pm »
I checked that folder, there is no error log at all.

Aficionado

  • Guest
Re: Browser hangs when editing item
« Reply #7 on: October 31, 2015, 10:09:34 pm »
Remove this

Code: [Select]
define('OSC_DEBUG_LOG', true) ;

and try again. This time the errors (if any will be shown to you).

Other than that, i'm afraid you will have to post your url so we can look.


Horsetrader

  • Newbie
  • *
  • Posts: 24
Re: Browser hangs when editing item
« Reply #8 on: October 31, 2015, 10:26:40 pm »
Sorry to be a hassle. I removed that and tried to edit the ad again, it did hang but no errors were shown.

www.houseofequine.com/class

I will post my test user log on info if that makes it easier.

Many thanks

Aficionado

  • Guest
Re: Browser hangs when editing item
« Reply #9 on: October 31, 2015, 10:34:24 pm »
I created an account, posted an ad (with the watch), edited perfectly well.

Not a single problem.


Horsetrader

  • Newbie
  • *
  • Posts: 24
Re: Browser hangs when editing item
« Reply #10 on: October 31, 2015, 10:50:36 pm »
Thanks for checking it out.

I don't have an answer, it hangs for a minute or more when I try and edit.

Thanks anyway.

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: Browser hangs when editing item
« Reply #11 on: October 31, 2015, 11:37:55 pm »
Hi,

I noticed several errors in my browser when visiting your site.
Do you have a SASS folder in your Bender theme folder or is it missing?


Regards,
Eric

Horsetrader

  • Newbie
  • *
  • Posts: 24
Re: Browser hangs when editing item
« Reply #12 on: November 01, 2015, 12:10:40 am »
Hi Eric,

No SASS folder in the themes folder.

Thank you

Aficionado

  • Guest
Re: Browser hangs when editing item
« Reply #13 on: November 01, 2015, 12:41:08 am »
Look INSIDE Bender theme folder.

How can that be and no SASS.

JS folder ?

From where did you got the install files ?

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: Browser hangs when editing item
« Reply #14 on: November 01, 2015, 12:52:58 am »
You also have some amazon ads in your theme if I am correct, are these also active when you edit an ad?
http://rcm-na.amazon-adsystem.com

You have tried IE and Chrome but on the same device, have you tried another device for this specific issue?
Since Aficionado had no issue/hang it could be device-browser-setup related.


Regards,
Eric