Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: counting items chosen in $_POST
Post: counting items chosen in $_POST

I have a form that is being returned  when a user submits. The $_POST array comes back as an array of arrays. All of the elements are available, except I have two sections that use buttons. In those s...
127 Views
3 Replies
06-11-2021, 03:38 PM
richb201
    Thread: email service
Post: email service

I just put up my new domain, ResearchStudyOnline.com. I use AWS SES (simple email server) but I think I will also need to email client to work with it. I am considering AWS workmail as a client. Any c...
203 Views
0 Replies
05-31-2021, 06:47 AM
richb201
    Thread: should I worry about data being disclosed?
Post: RE: should I worry about data being disclosed?

I spoke with the makers of koolreport and their quote above corresponds to CSS files, not to data files or reports, so I think I am AOK.
217 Views
1 Replies
05-31-2021, 06:44 AM
richb201
    Thread: should I worry about data being disclosed?
Post: should I worry about data being disclosed?

I have built a multi-user application in CI3. To keep one users data from being seen by another user I do a number of things. For example I keep each users uploaded images on S3 and only download them...
217 Views
1 Replies
05-30-2021, 03:22 AM
richb201
    Thread: how to do this mysql task?
Post: RE: how to do this mysql task?

Here is the sql: $sql = "CREATE TABLE survey_results_BC_temp SELECT taxyear,user_email, item, campaign, email, qualified FROM survey_results sr WHERE i...
302 Views
4 Replies
05-29-2021, 05:46 AM
richb201
    Thread: how to do this mysql task?
Post: RE: how to do this mysql task?

Yeah, I couldn't get this post correct and then the forum "went away" while i was typing it. I didn't know it posted. Sorry. I was trying to show the table I am working from.
302 Views
4 Replies
05-29-2021, 04:50 AM
richb201
    Thread: how to do this mysql task?
Post: how to do this mysql task?

I have a table called survey_results_BC_temp. It has the following fields: https://photos.google.com/photo/AF1QipMufvXBozoaKEbitLl2S7dqvvBDBPfpv9sCqWeM (https://photos.google.com/photo/AF1QipMufvXBoz...
302 Views
4 Replies
05-28-2021, 05:00 PM
richb201
    Thread: how to chose from two different apps?
Post: how to chose from two different apps?

In my routes.php I have the following $route['default_controller'] = 'Users2/login'; //$route['default_controller'] ='Display_survey/display'; $route['404_override'] = ''; $route['translate_uri_...
159 Views
0 Replies
05-19-2021, 01:09 PM
richb201
    Thread: Class not found
Post: RE: Class not found

This is what I have: $config['composer_autoload'] = FCPATH . 'vendor/autoload.php';    //for ubuntu same! I sure hope the vendor is going to figure this out.
524 Views
7 Replies
05-19-2021, 12:53 PM
richb201
    Thread: Class not found
Post: RE: Class not found

Thanks. I am using version 2 above. I still get Class 'ApiClient' not found. I then checked psr4 return array( 'Symfony\\Polyfill\\Php72\\' => array($vendorDir . '/symfony/polyfill-php72'), ...
524 Views
7 Replies
05-19-2021, 07:12 AM
richb201
    Thread: Class not found
Post: RE: Class not found

Yes. I have require 'vendor/autoload.php'; at the top of the module. I just noticed that these two lines also appear in the module: use Sendpulse\RestApi\ApiClient; use Sendpulse\RestApi\Storage\Fil...
524 Views
7 Replies
05-19-2021, 03:55 AM
richb201
    Thread: Class not found
Post: Class not found

I am still trying to install the sendpulse API. I finally got Composer to install it correctly and it created a file called /vendor/sendpulse/rest-api/ApiClient.php When I try to initialize it with...
524 Views
7 Replies
05-18-2021, 12:59 PM
richb201
    Thread: Docker The requested URL was not found on this server.
Post: RE: Docker The requested URL was not found on this...

I have a CI app running in docker. I also have an Apache container and a php-fpm container in the same docker-compose. I think you will need to run a copy of Apache in docker.
271 Views
2 Replies
05-14-2021, 02:26 PM
richb201
    Thread: trying to require
Post: RE: trying to require

Getting closer.. Turns out that in the file ApiClient.php they have this code at the top: namespace Sendpulse\RestApi; use Exception; use Sendpulse\RestApi\Storage\FileStorage; use Sendpulse\Re...
721 Views
7 Replies
05-06-2021, 09:54 AM
richb201
    Thread: trying to require
Post: RE: trying to require

I have added it this way: require "vendor\sendpulse-rest-api-php-master\src\ApiClient.php"; require "vendor\sendpulse-rest-api-php-master\src\Storage\FileStorage.php"; But I get the error: A P...
721 Views
7 Replies
05-06-2021, 01:36 AM
richb201
    Thread: trying to require
Post: RE: trying to require

I was told by sendPulse to run it in the vendor dir where I put sendPulse. so I ran this: [email protected]:/opt/docker-substantiator2/app/vendor/sendpulse-rest-api-php-master$ comp...
721 Views
7 Replies
05-05-2021, 06:40 AM
richb201
    Thread: trying to require
Post: RE: trying to require

InsiteFX Wrote: (05-04-2021, 11:55 AM) -- From CI 3 point of view namespaces. Their namespace is: namespace Sendpulse\RestApi; namespace Sendpulse\RestApi\Storage; You should use Composer t...
721 Views
7 Replies
05-04-2021, 12:43 PM
richb201
    Thread: trying to require
Post: RE: trying to require

Yes, I am aware of their docs. What is wrong with my paths from a CI3 point of view? I have tried a number of different ways to describe the path. Right now it is: require ("sendpulse-rest-api-php-ma...
721 Views
7 Replies
05-04-2021, 10:22 AM
richb201
    Thread: trying to require
Post: trying to require

I am trying to use the sendpulse library.  First I tried to load it with Composer but composer complains that I should be using Composer2. When I try to upgrade to Composer2 that fails. So then I trie...
721 Views
7 Replies
05-03-2021, 04:19 AM
richb201
    Thread: why is the $this->db not available in a certain module?
Post: RE: why is the $this->db not available in a certai...

The problem is that db_connect() is not found. I am on CI3, btw. I then tried using $db = \Config\Database::connect(); instead but I get Class 'Config\Database' not found
801 Views
8 Replies
04-24-2021, 06:38 AM
richb201

Theme © iAndrew 2016 - Forum software by © MyBB