Osclass forums
Development => Development => Topic started by: aviation on February 05, 2019, 05:42:16 am
-
suddenly i am having an issue for selection of categories and i cant see the picture uploading .
please help me on fixing the errors as my visitor keeping asking me.
MY OSCLASS VERSION 3.8
regards
WEB:sellbourne . com
-
Activate osclass debug to see if you have any errors
https://doc.osclass.org/Debug_PHP_errors
Check in Listings=> Settings=> Optional fields =>Attach images see if that checkbox is checked
-
I checked it's all checked
I can't see category selection as well
-
You verified to see if you have any PHP errors?
-
I don't know how to do it.
is there any other method?
-
No is no other method to see if you have any php errors. You need to check from where this issue is coming.
Here you have an example of how to activate debug, but if you don't know what you are doing is better to don't do this.
https://www.youtube.com/watch?v=zmSSJs3hfVA
Make a backup of your site before you do any changes, just in case you do something wrong.
-
I ll try and come back again here for sure.
-
You have an issue but your issue is coming from where?
You made changes on your site, install a plugin, make an osclass update?
Your category selection and image uploading were working in the past?
A site will not break without any intervention.
-
they all working before.no change I've done up to today.when I checked,I couldn't see category selection and picture uploading for publishing ad:(
-
Disable CF Rocket Loader. You have a lot of javascript errors.
Also, remove minify plugin if you have it installed / enabled.
-
I done all but it didn't help:(
still categories not choosable,and pics not uploadable
-
Nope, you haven't. Your bootstrap js dependency is still broken.
-
hmm.i ll check again.i disabled from CloudFlare panel:(
-
I done all but it didn't help:(
still categories not choosable,and pics not uploadable
Sorry tell you, but you not yet done all. A long path of work to fix them. I hope you have all backups with your custom versions of your own theme since beginning of first version (changed).
Currently, you have a lot of JS errors on your theme.
These errors freeze other JS functions from osclass script.
For other hand, your theme with these all errors, your domain is penalized on google too.
For big adventures, the best and favorite tool is: backup, backup, backup... to save all independent versions, to what you did on your custom theme. Or, will be a great frustrating headache to try fix all without old backups.
Why losting a lot of time with it to have JS errors? Is the same to think: "what matters is if all of funtionalities of theme are working, and the rest of errors is relative, or I don't care about it . I just want this working".
I hope you don't think like that, or like I said: why losting a lot of time with it to get errors in the end, and no to know how to fix all them? (backup, backup, backup... or can be very to late with all time spent). Better you start from scratch and save each version with a new functionallity, making sure no exist any error? Maybe you will save time correctly now, do the things like that.
I'm just trying to help you through how to get things right if you do not have backups. Or, go back on your backup versions to be easier for you fix something.
Regards
-
ok.i ll follow your sayings:)
-
It's not a long path, just disable that ancient buggy plugin and it will start working again.
-
thanks God🙏 it's working now.
thanks everyone who helped me out on that:)
-
It's not a long path, just disable that ancient buggy plugin and it will start working again.
Sure, but is not only these errors he have on own theme. Anyway, mostly of these errors was of that plugin, I can see that now. I cannot understand why that plugin was not removed yet from somethere to download.
Regards
-
The only remaining error left is mixed google font content (http instead https, a known minor bug in OW theme), I don't see any js errors left.
Yes, that plugin should be definitely removed, it causes more troubles than anything else.
-
how can it s fixed?
-
I think it's already answered in other topics here, just search a little, it's not complicated.
-
The only remaining error left is mixed google font content (http instead https, a known minor bug in OW theme), I don't see any js errors left.
Yes, that plugin should be definitely removed, it causes more troubles than anything else.
I see on search results page, when I click o button search to all categories:
(http://www.cmd.com.pt/images/search-js-errors.png)
-
On my end in latest Chrome & Edge only font error is listed, other warnings are not related to the theme/plugins, don't see TypeError one, possibly come from some external 'widgets' he uses. FB widget error is not critical, probably obsolete api, not sure about other tracking and ads stuff.
-
I checked some times, and with refresh (F5) with console opened, the first time I did, appeared most more, but after long time after post here, just few errors appears. Maybe he already know how disable part of that code to cause the conflict.
Regards
-
Yes, is that. On homepage choose "Industries" main category with console opened.
On search results when page is totally loaded, press F5.
Sometimes happears a lot of JS errors. If these all errors not happears to you, repeat de process starting again from homepage. Hope it works to your side.
Well, I cannot do anything with that. My advice was gived to him, backups versions help to roll back, if needed.
Regards
-
No, I still don't see them in Chrome, multiple refresh. It's possible they are browser specific.
-
No, I still don't see them in Chrome, multiple refresh. It's possible they are browser specific.
I saw with firefox. But now with chrome that browser display much more errors (44), and no needed any refresh. I did my search with "industries" main category, and USA country. Is possible he use JS to display something related with external ads, like you mentioned before.
(http://cmd.com.pt/images/chrome-console.jpg)