Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Problem with load lib
Post: RE: Problem with load lib

Solution In controller I have: PHP Code: -- use OpenPayU_Configuration; use OpenPayU_Order; ... $openPayUConfig = new OpenPayU_Configuration(); $openPayUConfig->setEnvironment('sandbox...
2,465 Views
1 Replies
03-24-2023, 06:15 AM
mazz
    Thread: Problem with load lib
Post: Problem with load lib

Hi,  I need to use this library: https://github.com/PayU-EMEA/openpayu_php so I installed it with this command: Quote: -- composer require openpayu/openpayu -- In controller I have this ...
2,465 Views
1 Replies
03-24-2023, 03:59 AM
mazz
    Thread: Class "PHPMailer\PHPMailer\PHPMailer" not found
Post: RE: Class "PHPMailer\PHPMailer\PHPMailer" not foun...

I added this to my app/Config/Autoload.php: PHP Code: -- 'PHPMailer\PHPMailer'  => ROOTPATH . 'vendor/phpmailer/phpmailer/src' -- and it works! But I have one more question. Why you used '\\' (...
11,071 Views
5 Replies
08-31-2022, 07:29 AM
mazz
    Thread: Class "PHPMailer\PHPMailer\PHPMailer" not found
Post: Class "PHPMailer\PHPMailer\PHPMailer" not found

I'm using CodeIgniter 4 and I'm trying add PHPMailer to my project via a composer: Quote: -- composer require phpmailer/phpmailer -- https://i.stack.imgur.com/TNIYc.png My Controller: ...
11,071 Views
5 Replies
08-31-2022, 05:56 AM
mazz
    Thread: Adding param with value to model
Post: Adding param with value to model

I am using CI4 and I have this code: Code: --     $campaignUserModel = new CampaignUserModel();     $subcontractors = $campaignUserModel         ->select('campaigns_users.*, users.fullname user_fu...
2,489 Views
2 Replies
07-08-2022, 11:02 AM
mazz
    Thread: Remove index.php (mod_rewrite)
Post: RE: Remove index.php (mod_rewrite)

kenjis Wrote: (05-10-2022, 04:16 PM) -- Try Code: -- RewriteRule ^([\s\S]*)$ index.php?/$1 [L,NC,QSA] -- -- It works! Thank you  :heart:
4,909 Views
3 Replies
05-11-2022, 12:31 AM
mazz
    Thread: Remove index.php (mod_rewrite)
Post: Remove index.php (mod_rewrite)

On my ftp I have a subdomain: api.xxx.eu - here are all files from public CI4 folder. My files structure: Quote: -- - ci4 - public_html (root) -- api (subdomain) -- In api/index.php I upd...
4,909 Views
3 Replies
05-10-2022, 06:16 AM
mazz
    Thread: Problem with session on default page
Post: RE: Problem with session on default page

I probably found the source of problem. In my .htaccess: Code: -- RewriteEngine On RewriteBase / RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.***.pl/$1 [R,L] #Removes ...
6,997 Views
8 Replies
10-01-2019, 04:14 AM
mazz
    Thread: Problem with session on default page
Post: RE: Problem with session on default page

@dave friend, thank you for paying attention. This change unfortunately didn't help - problem occurs all the time.
6,997 Views
8 Replies
10-01-2019, 03:30 AM
mazz
    Thread: Problem with session on default page
Post: RE: Problem with session on default page

When I created new folder and edited config.php nothing changed - problem still exists. In created folder I see session files so I don't know what is wrong.
6,997 Views
8 Replies
09-30-2019, 06:45 AM
mazz
    Thread: Problem with session on default page
Post: RE: Problem with session on default page

Nobody knows how to help?
6,997 Views
8 Replies
09-30-2019, 02:15 AM
mazz
    Thread: Problem with session on default page
Post: RE: Problem with session on default page

I load session in autoload: PHP Code: -- $autoload['drivers'] = array('session'); -- My sessions config: PHP Code: -- $config['sess_driver'] = 'files'; $config['sess_cookie_name'] = 'ci_session'; ...
6,997 Views
8 Replies
09-24-2019, 01:08 AM
mazz
    Thread: Problem with session on default page
Post: Problem with session on default page

Hi, I have problem with sessions in CodeIgniter.  When user log in to system I have this code: Code: -- $data_login = array(     'id' => $user->id,     'name' => $user->name,     'email' =>...
6,997 Views
8 Replies
09-23-2019, 06:39 AM
mazz

Theme © iAndrew 2016 - Forum software by © MyBB