Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: CL4 Connecting to a Remote AWS Database
Post: RE: CL4 Connecting to a Remote AWS Database

kenjis Wrote: (05-01-2024, 06:09 PM) -- cx3700 Wrote: (04-30-2024, 10:48 PM) -- 3306 is open in both AWS Lightsail and in Plesk firewall. I can connect to the db from local code, so I know the cred...
285 Views
5 Replies
05-01-2024, 07:33 PM
cx3700
    Thread: CL4 Connecting to a Remote AWS Database
Post: RE: CL4 Connecting to a Remote AWS Database

3306 is open in both AWS Lightsail and in Plesk firewall. I can connect to the db from local code, so I know the credentials are correct. [hr] kenjis Wrote: (04-30-2024, 08:55 PM) -- See log file: ...
285 Views
5 Replies
04-30-2024, 10:48 PM
cx3700
    Thread: CL4 Connecting to a Remote AWS Database
Post: CL4 Connecting to a Remote AWS Database

CL 4.5.1 running on AWS Ubuntu with Plesk. I am trying to connect to a database on our AWS test server from our AWS production server.  When I connect to a local db on production it works but th...
285 Views
5 Replies
04-30-2024, 08:04 PM
cx3700
    Thread: Error Passing 32 Bit Integer in URL
Post: RE: Error Passing 32 Bit Integer in URL

[client 193.37.254.75] ModSecurity: Access denied with code 403 (phase 2). Pattern match "(?i: (?:^(-0000023456|-2147483648|-2147483649|0000012345|0000023456|1e309|2147483648|2147483647|2.2.9073858507...
567 Views
15 Replies
04-06-2024, 08:04 PM
cx3700
    Thread: Error Passing 32 Bit Integer in URL
Post: RE: Error Passing 32 Bit Integer in URL

It only happens with CodeIgniter though. If I make a basic PHP page with that URL token it works fine ?‍♂️
567 Views
15 Replies
04-06-2024, 05:41 PM
cx3700
    Thread: Error Passing 32 Bit Integer in URL
Post: RE: Error Passing 32 Bit Integer in URL

kenjis Wrote: (04-06-2024, 02:45 PM) -- https://imgur.com/a/uQnAqbK is not the default CI4 error page. So, the conclusion is that the web server or Web Application Firewall may be returning a 403....
567 Views
15 Replies
04-06-2024, 03:09 PM
cx3700
    Thread: Error Passing 32 Bit Integer in URL
Post: RE: Error Passing 32 Bit Integer in URL

kenjis Wrote: (04-05-2024, 07:34 PM) -- What is the 403 error page? Is it provided by CI4 (your custom error page)? Why is it a stdClass when you just echo? Sorry I was trying out diffe...
567 Views
15 Replies
04-06-2024, 01:39 PM
cx3700
    Thread: Error Passing 32 Bit Integer in URL
Post: RE: Error Passing 32 Bit Integer in URL

My code: PHP Code: -- public function index() {     $device = $this->request->getGet('device');     echo $device; } -- With 4294967295 https://imgur.com/a/uQnAqbK With 4294967294 ...
567 Views
15 Replies
04-05-2024, 06:49 PM
cx3700
    Thread: Error Passing 32 Bit Integer in URL
Post: RE: Error Passing 32 Bit Integer in URL

kenjis Wrote: (04-05-2024, 01:19 AM) -- Cannot reproduce. PHP Code: --
567 Views
15 Replies
04-05-2024, 01:35 PM
cx3700
    Thread: Error Passing 32 Bit Integer in URL
Post: RE: Error Passing 32 Bit Integer in URL

I use $_GET, or the built in request object. Neither work. I tried intval and casting with (string)… passing it as base64 but this isn’t optimal.  Any number lower than that works fine.
567 Views
15 Replies
04-04-2024, 10:49 PM
cx3700
    Thread: Error Passing 32 Bit Integer in URL
Post: Error Passing 32 Bit Integer in URL

I am not sure if this is a CL issue or a PHP or HTTP issue, but when I try to pass the number 4294967295 or anything larger in the URL, I get a 403 error.  For example: Code: -- https://myurl.c...
567 Views
15 Replies
04-04-2024, 09:01 PM
cx3700
    Thread: Can Anyone Recommend a Tutorial or Example for AWS SQS in CI4?
Post: Can Anyone Recommend a Tutorial or Example for AWS...

I need to connect a CI4 project to Amazon's Simple Query Service (SQS) to send and receive messages. Can someone point me to a tutorial, example, library etc? I went through 10 pages of Google with no...
655 Views
2 Replies
02-18-2024, 04:45 PM
cx3700
    Thread: What is the trick to get SMTP to work on AWS SES?
Post: RE: What is the trick to get SMTP to work on AWS S...

I have tried both TLS and SSL, 465 and 587. I verified the SMTP credentials and endpoint, but I still get this error.
1,268 Views
4 Replies
07-16-2023, 08:22 AM
cx3700
    Thread: why don't these forums have a search function?
Post: RE: why don't these forums have a search function?

I don't have search on the top menu on desktop.
548 Views
4 Replies
07-15-2023, 10:51 PM
cx3700
    Thread: why don't these forums have a search function?
Post: why don't these forums have a search function?

I can't find any answers.
548 Views
4 Replies
07-15-2023, 10:14 PM
cx3700
    Thread: What is the trick to get SMTP to work on AWS SES?
Post: What is the trick to get SMTP to work on AWS SES?

My code: $email = \Config\Services::email(); $email->protocol = 'smtp'; $email->SMTPCrypto = 'tsl'; $email->SMTPHost = 'email-smtp.us-west-2.amazonaws.com'; $email->SMTPUser = 'xxxx'; $email->SM...
1,268 Views
4 Replies
07-15-2023, 05:59 PM
cx3700
    Thread: Is there a trick to sending mail with AWS?
Post: Is there a trick to sending mail with AWS?

I am using an AWS LightSail server. My domain is verified in SES using the CNAME records provided.  I am trying to send a simple test email like this: $email = \Config\Services::email(); $email->...
230 Views
0 Replies
06-22-2023, 12:13 PM
cx3700
    Thread: Can anyone tell me why I cannot access this property?
Post: RE: Can anyone tell me why I cannot access this pr...

That's not the problem, it is failing long before that.  if I do this: $data = array(); $site = new stdClass(); $site->id = (int)$this->request->getPost('site'); $site_device = $this->SiteM...
1,346 Views
3 Replies
06-13-2023, 10:57 PM
cx3700
    Thread: Can anyone tell me why I cannot access this property?
Post: Can anyone tell me why I cannot access this proper...

I have a controller function that is called by AJAX. The AJAX posts one property to it called $site. The value of $site is arriving at the controller just fine. Here's my controller function: p...
1,346 Views
3 Replies
06-13-2023, 09:20 PM
cx3700

Theme © iAndrew 2016 - Forum software by © MyBB