Post by craigbaines » Tue Sep 19, 2023 7:42 am

Hi all,

I have been teaching myself about the world of events all day in the hopes of making my custom fields work without editing any core files. I finally got them all working on my xamp localhost server, but when promoting it to the live site, the events just do nothing. They don't trigger an im at a loss as to why...i have copied my database and all files from local host, tweaked the configs to work and nothing....? It should be an exact copy!?

Anyone had similar, any possible causes I can look at?
Last edited by craigbaines on Tue Sep 19, 2023 8:19 pm, edited 1 time in total.

New member

Posts

Joined
Wed Jun 25, 2014 8:39 am

Post by halfhope » Tue Sep 19, 2023 8:16 am

craigbaines wrote:
Tue Sep 19, 2023 7:42 am
Anyone had similar, any possible causes I can look at?
Hi!

Try this.

My FREE extensions in marketplace. [ security | flexibility | speedup ]


User avatar
Active Member

Posts

Joined
Tue Dec 10, 2013 9:44 pm
Location - San Diego

Post by craigbaines » Tue Sep 19, 2023 8:47 am

Thanks, not sure i understand it though. Maybe translate is letting me down!

I can not find any returns. It's standard opencart 4.0.2.3. Only one other mod installed. Same result when that is not there too.

New member

Posts

Joined
Wed Jun 25, 2014 8:39 am

Post by craigbaines » Tue Sep 19, 2023 8:19 pm

Solved! It was my capitalization.

In my events, i had the folder / file names lowercase. The folder was uppercase, the the file a combo of both.

Changing everything to lower case fixed my triggers. I don't quite understand why it worked on my local host, but now i know. Everything is staying lowercase!

New member

Posts

Joined
Wed Jun 25, 2014 8:39 am
Who is online

Users browsing this forum: No registered users and 2 guests