Post by antmagn » Wed Nov 27, 2024 4:30 pm

Hello everyone, I have lost my twig editor as you can see from the screenshot and do not know why...its oc 3.0.8....thank you in advance...

Attachments

twigError.JPG

twigError.JPG (39.63 KiB) Viewed 418 times

Last edited by antmagn on Fri Nov 29, 2024 12:05 am, edited 1 time in total.

New member

Posts

Joined
Fri Jul 23, 2021 8:38 pm

Post by OSWorX » Wed Nov 27, 2024 5:04 pm

Which php version you are using ?
And did you check the source code (browser > developer console)?
Also, did you check the error logs of OpenCart AND the server?

General, please read this: Forum Rules

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by paulfeakins » Thu Nov 28, 2024 12:34 am

antmagn wrote:
Wed Nov 27, 2024 4:30 pm
..its oc 3.0.8....
Please read the Forum Rules.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by antmagn » Thu Nov 28, 2024 1:20 am

Oh I'm sorry
php: 5.2.1
default template
chrome

Attachments

twigError2.JPG

twigError2.JPG (54.65 KiB) Viewed 400 times


New member

Posts

Joined
Fri Jul 23, 2021 8:38 pm

Post by OSWorX » Thu Nov 28, 2024 1:45 am

antmagn wrote:
Thu Nov 28, 2024 1:20 am
php: 5.2.1
And I thought this php version is extinct ..
WTH can use such an old version?

And the error says all ..

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by Joe1234 » Thu Nov 28, 2024 3:54 am

It doesn't matter if the error says it all, it matters if they understand what the error is saying and know the possible steps to take to rectify the issue.

Look in the directory for that file on the first line to see if it's there. If it isn't, find your downloaded copy of OC or your backup and copy over that file...at least that's my guess on how to fix that.

v3.0.4.0 php 8.1
I'm here for a reason, if your response is contact a/the developer, just don't reply.


Active Member

Posts

Joined
Sat Jan 01, 2022 5:47 am

Post by rendy276 » Thu Nov 28, 2024 4:26 am

It looks like there might be an issue with the installation or a conflict with another plugin. Have you tried reinstalling the editor or disabling any other plugins to see if that helps?

Newbie

Posts

Joined
Tue Nov 26, 2024 7:22 pm

Post by by mona » Thu Nov 28, 2024 1:32 pm

The error says admin/view/javascript/codemirror/lib/codemirror.js is missing.
Maybe you installed a module and then uninstalled it ?

As is posted above you need to check if the file is there using ftp or similar and if not download an original copy of the OC version you installed and copy the codemirror directory and put it back in the admin folder. There are a lot of files in the codemirror directory, if was a module, it may have uninstalled other codemirror files.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by OSWorX » Thu Nov 28, 2024 3:04 pm

Joe1234 wrote:
Thu Nov 28, 2024 3:54 am
It doesn't matter if the error says it all, it matters if they understand what the error is saying and know the possible steps to take to rectify the issue.

Look in the directory for that file on the first line to see if it's there. If it isn't, find your downloaded copy of OC or your backup and copy over that file...at least that's my guess on how to fix that.
Well .. "not found" says enough

And because of that, the next step should be also clear: check if that file really exists.
And - if -not, add it again.

What's more of interest, why does it come to that error?
Is it because another extension was uninstalled (and that removed then also that file)?
Or something changed on the server?

General: operating a webserver requires a minimum of knowledge.
If someone does not have that, hire someone who knows what to do!

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by antmagn » Thu Nov 28, 2024 3:18 pm

Thank you everyone, I will check the file and come back for an update

New member

Posts

Joined
Fri Jul 23, 2021 8:38 pm

Post by paulfeakins » Thu Nov 28, 2024 9:04 pm

antmagn wrote:
Thu Nov 28, 2024 1:20 am
php: 5.2.1
default template
You didn't real the Forum Rules properly.

You need to tell us the CORRECT OpenCart version as there is no such thing as 3.0.8, and you need to list your extensions.

However you should 100% not be using PHP 5.2.1 at this point. I'm not sure where you live but you're likely breaking a lot of PCI rules.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by antmagn » Thu Nov 28, 2024 9:37 pm

Yes the correct is 3.0.3.8 I'm sorry

New member

Posts

Joined
Fri Jul 23, 2021 8:38 pm

Post by antmagn » Fri Nov 29, 2024 12:03 am

Thank you guys! I replaced the file to the server and everything works fine!
I will also check the php issue, as far as I saw from another post I only have to replace one file to upgrade the version of it.
UPDATE: MY PHP VERSION IS 7.3.13, phpMyAdmin IS 5.2.1
I build and installed oc and the whole site myself with freehosting.com and still learning :-[
Last edited by antmagn on Fri Nov 29, 2024 12:38 am, edited 1 time in total.

New member

Posts

Joined
Fri Jul 23, 2021 8:38 pm

Post by OSWorX » Fri Nov 29, 2024 2:15 am

antmagn wrote:
Fri Nov 29, 2024 12:03 am
Thank you guys! I replaced the file to the server and everything works fine!
I will also check the php issue, as far as I saw from another post I only have to replace one file to upgrade the version of it.
UPDATE: MY PHP VERSION IS 7.3.13, phpMyAdmin IS 5.2.1
I build and installed oc and the whole site myself with freehosting.com and still learning :-[
Gratulation!

But (sorry for that), you should use php 8.x and OpenCart 3.0.4.0 (https://github.com/opencart/opencart/re ... ag/3.0.4.0 ) which is the only compatible version with php 8.x
Benefits using this constellation:
1. better security
2. faster loading

Disadvantage of that (but I'm sure you can fix that also by yourself): when you are using extensions, check first if they are also compatible.
When you decide to go this way (recommended), let the current shop and earn money.
"Develop" beside this the new shop with the new version - when everything is "running" smoothy - you can switch then.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria
Who is online

Users browsing this forum: lockiedownunder and 14 guests