Search found 603 matches

Search found 603 matches

Re: Bootstrapping opencart to a custom file for a cron job

@JNeuoff that's how I originally had it, standard controller, it was executing without passing the parameter when called by wget cron command. So I changed the function to this so I can pass the parameter by going with the absolute path php command route, but in doing that I have to bootstrap and in...

Jump to post
  • Wed Feb 12, 2025 8:00 am
  • Replies 4
  • Views 173
Bootstrapping opencart to a custom file for a cron job

I'm trying to setup a file to be executed by cron...not going so well. The primary function of this file is to do database stuff. In the past the only way I got cron to work is to make it completely independent of opencart....so it just contained raw php coding, no includes, functions, etc. But with...

Jump to post
  • Tue Feb 11, 2025 12:21 pm
  • Replies 4
  • Views 173
Re: OpenCart 3.0.4.0 released

Is there that lists the changes from 3.0.3.9 to 3.0.4.0?

Jump to post
  • Sat Jan 18, 2025 2:22 pm
  • Replies 12
  • Views 5842
Re: redirect question

Thanks. That didn't work for me. I had ended up needing to add

Code: Select all

header('Cache-Control: no-cache, no-store, must-revalidate');
header('Pragma: no-cache');
header('Expires: 0');
before the switch section. Seems to have solved the problem.

Jump to post
  • Sat Jan 18, 2025 2:15 pm
  • Replies 7
  • Views 617
[SOLVED] redirect question

Odd issue. I setup the following redirect. Notice the one that points to google. After that particular redirect, if I go and put my site in the url it automatically sends me back to google. No matter how many refreshes, the same thing happens until I delete the browser data. Am I using this incorrec...

Jump to post
  • Fri Jan 17, 2025 2:01 am
  • Replies 7
  • Views 617
Re: opencart images are all in landscape position

In the past I've had some odd things happen with landscape vs portrait in general that didn't make any sense, although those issues had to do with video. First thing to check is the actual dimensions of the image, don't go by how whatever application is orienting it. Right click on the image, go to ...

Jump to post
  • Thu Jan 16, 2025 11:00 am
  • Replies 25
  • Views 907
mod_security question

How many of you have this enabled on your shop? I didn't have it enabled on my last server, I believe I disabled it because it's supposed to come turned on but I don't remember. I ask because since being moved to this new server I have had to disable 8 rules all relating to saving things to the data...

Jump to post
  • Sun Jan 12, 2025 7:32 am
  • Replies 3
  • Views 504
Re: Forbidden during save

You were right modsecurity ID 211190. I don't understand why, because from what I was able to read about it, that's supposed to detect remote file access. I don't understand how that affects the local website inserting the info into the database. Either way, I guess I should leave that enabled and j...

Jump to post
  • Sat Jan 11, 2025 7:47 am
  • Replies 6
  • Views 616
Re: Oracle call question

Found the issue, seems an overzealous tech put that error in my index to try and figure out why stack tracing wasn't working on this server, which they forgot to remove when they couldn't figure it out....which I eventually figured out and fixed myself smh.

Jump to post
  • Sat Jan 11, 2025 12:45 am
  • Replies 5
  • Views 452
Re: Oracle call question

@JNeuhoff, OK, my question was sufficiently answered, but this time you HAVE to tell me exactly what information you were looking to get from this question. I literally stated everything that was happening and that I saw and you are STILL looking for more information :crazy: . I have no idea what mo...

Jump to post
  • Sat Jan 11, 2025 12:01 am
  • Replies 5
  • Views 452
[SOLVED] Oracle call question

I doubt it, but I'm asking anyway. I was moved to a new server with CWP web panel and I'm having a bunch of problems, right now I'm seeing constant calls to oracle database..."Oracle database not available!". Late tonight I was told by a tech rep it's probably because of some programming i...

Jump to post
  • Fri Jan 10, 2025 1:24 pm
  • Replies 5
  • Views 452
Re: Forbidden during save

It looks like the problem is because I'm saving the htaccess path and file name to the database (I didn't have this issue on my old server). So my question is can this issue be bypassed pragmatically? I dont exactly fully understand how the config settings are saved, I don't see how this could possi...

Jump to post
  • Fri Jan 10, 2025 1:03 pm
  • Replies 6
  • Views 616
[SOLVED] Forbidden during save (because of mod_security)

Having an odd issue. I'm making an admin mod that has been working fine during tests. My host moved me to another server and all of a sudden I can't save my mods settings that are being saved to the settings table. I'm getting a forbidden message. OC regular settings is going through the save proces...

Jump to post
  • Fri Jan 10, 2025 4:12 am
  • Replies 6
  • Views 616
Re: Receive an email anytime admin logs in

@supak111, So it works for you or no? You stated two different things. I see you are using 3.0.3.2, that may be the issue. I made this on 3.0.3.8 and using it on 3.0.3.9. Either way, it is a simple mod and should be easily adaptable to most versions. @jrr, that function is only utilized to automate ...

Jump to post
  • Wed Jan 01, 2025 4:58 am
  • Replies 39
  • Views 2237
Re: Receive an email anytime admin logs in

<?xml version="1.0" encoding="utf-8"?> <modification> <name>MY CUSTOM: Admin Last Login Time</name> <version>1.0</version> <author>Just Me</author> <code>MY_CUSTOM_Admin_Last_Login_Time</code> <file path="admin/controller/marketplace/modification.php"> <operation> <sea...

Jump to post
  • Tue Dec 31, 2024 2:41 am
  • Replies 39
  • Views 2237
Re: online database manager

Thanks all.
@khnaz35, that works perfectly for me.
@JNeuhoff, I just want a quick access from my desktop without getting online or logging in for quick one off testing. And don't I need a server/apache setup for that anyway?

Jump to post
  • Tue Dec 31, 2024 2:29 am
  • Replies 5
  • Views 1186
online database manager

Can anyone point me to something like phpmyadmin that I can use on my computer and connect to and edit my website database that's free? Something like how WinSCP does for the files on the site. Everything I found is basically for creating databases on my computer itself.

Thanks.

Jump to post
  • Sat Dec 28, 2024 1:32 am
  • Replies 5
  • Views 1186
Re: error suppression

@softmonke, that worked perfectly, "@" is a nifty little trick, thanks. @osworx, the error happens because I'm working on something with a developer account that has a query limit, and that happens when I hit the limit. I have already implemented a fallback api which is why I don't need to...

Jump to post
  • Sat Dec 28, 2024 1:12 am
  • Replies 4
  • Views 734
error suppression

Sometimes I'm getting error "PHP Warning: ........: Failed to open stream:...." coming from a specific site that I'm pulling info from through an API. I have other means of handling this error and I don't want my OC error log filling up with this problem. Is it possible to suppress this er...

Jump to post
  • Fri Dec 27, 2024 3:20 am
  • Replies 4
  • Views 734
Re: Website Help

Assuming your site is https://fcgrafix.net/ since everything with fatcatgrafix leads back to that, I was able to checkout just fine with a monitor.

Jump to post
  • Fri Dec 20, 2024 1:06 am
  • Replies 3
  • Views 1769

Search found 603 matches