Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Using composer to install thirdparty library
Post: RE: Using composer to install thirdparty library

captain-sensible tnx for reply. I did visit composer web page to try figure it out and I did in some way but I am not sure how it will play along with CI4. So lets clarify few thing: 1) I am running ...
1,915 Views
3 Replies
10-15-2020, 01:53 AM
Didytz
    Thread: Using composer to install thirdparty library
Post: Using composer to install thirdparty library

Hi, I am maybe asking "stupid" question but can someone help me with installing thirdparty library using composer. First, I never used composer as I always install scripts manual (CI 4 is installed ...
1,915 Views
3 Replies
10-15-2020, 12:52 AM
Didytz
    Thread: How to use third party library
Post: RE: How to use third party library

InsiteFX Wrote: (09-02-2020, 03:53 AM) -- From the doc first you need to download Composer which will install it. Once Composer is installed you need to run it from a terminal in the project root....
1,703 Views
3 Replies
09-02-2020, 04:35 AM
Didytz
    Thread: How to use third party library
Post: How to use third party library

Hi, This is maybe stupid question but I have no idea how to use third party library in my project? I want to use http://mobiledetect.net/ (http://mobiledetect.net/) library but I don't know where ...
1,703 Views
3 Replies
09-02-2020, 12:54 AM
Didytz
    Thread: Parallel execution of helper function
Post: RE: Parallel execution of helper function

bivanbi Wrote: (08-31-2020, 06:20 AM) -- By your description, I assume your cron job call the helper functions over HTTP. I do not know if your environment permits to call your CI instance directl...
1,457 Views
4 Replies
08-31-2020, 06:29 AM
Didytz
    Thread: Parallel execution of helper function
Post: Parallel execution of helper function

Hi, My code is run by cronjob every five minutes. Among other things, code calls helper function that is used for cashing content. Three helper functions are called in a loop around 50-100 times, dep...
1,457 Views
4 Replies
08-31-2020, 06:08 AM
Didytz
    Thread: Can't use cookie helper in CI 4.0.4
Post: RE: Can't use cookie helper in CI 4.0.4

kilishan Wrote: (07-23-2020, 07:00 AM) -- Are you stopping execution of the script with a dd(), die(), etc? If so that would stop the cookies from being sent or updated. -- No
2,918 Views
10 Replies
07-23-2020, 07:04 AM
Didytz
    Thread: Can't use cookie helper in CI 4.0.4
Post: RE: Can't use cookie helper in CI 4.0.4

InsiteFX Wrote: (07-21-2020, 03:22 AM) -- When working with cookies you need to do a web browser refresh to see the cookie update. -- I know that and I do refresh but it seems that something is not...
2,918 Views
10 Replies
07-21-2020, 04:36 AM
Didytz
    Thread: Manual update of CI
Post: Manual update of CI

Hi, Can you please tell me how is best way to do manula update of CI? For example I am using right now 4.0.3 and would like to update to 4.0.4, but without Composer. If I just overwrite files  wi...
744 Views
2 Replies
07-20-2020, 03:07 PM
Didytz
    Thread: Can't use cookie helper in CI 4.0.4
Post: RE: Can't use cookie helper in CI 4.0.4

Hi, I have same problem. I have included helper("cookie") but it is not setting nor deleting cookie. But If I use standard PHP  "setcookie...." it works fine. So basically I have same problem as OP....
2,918 Views
10 Replies
07-20-2020, 02:42 PM
Didytz
    Thread: Routes problem
Post: RE: Routes problem

InsiteFX Wrote: (06-15-2020, 02:55 AM) -- PHP Code: -- // Change to the below $routes->add('korisnik/admin/urediFeed/(:any)', 'Pers/UserAdministracija::urediFeed/$1'); // Try this $routes->get(...
2,238 Views
8 Replies
06-17-2020, 03:18 PM
Didytz
    Thread: Cron job
Post: RE: Cron job

dave friend Wrote: (06-15-2020, 10:53 AM) -- Didytz Wrote: (06-15-2020, 06:43 AM) -- Hi, Can I run codeigniter Controller as CronJob and if I can is there any specific code that I need to include i...
3,047 Views
2 Replies
06-15-2020, 02:14 PM
Didytz
    Thread: Cron job
Post: Cron job

Hi, Can I run codeigniter Controller as CronJob and if I can is there any specific code that I need to include in it? What I want to do is to run one file which will collect and save some data from o...
3,047 Views
2 Replies
06-15-2020, 06:43 AM
Didytz
    Thread: Routes problem
Post: RE: Routes problem

InsiteFX Wrote: (06-15-2020, 02:55 AM) -- PHP Code: -- // Change to the below $routes->add('korisnik/admin/urediFeed/(:any)', 'Pers/UserAdministracija::urediFeed/$1'); // Try this $routes->get(...
2,238 Views
8 Replies
06-15-2020, 06:37 AM
Didytz
    Thread: Routes problem
Post: RE: Routes problem

burgoyn1 Wrote: (06-14-2020, 11:46 AM) -- Just out of curiosity, what happens if you change (:num) to (:any), and move the new route between the lines: Code: -- $routes->add('korisnik/promjenaP...
2,238 Views
8 Replies
06-14-2020, 12:47 PM
Didytz
    Thread: Routes problem
Post: RE: Routes problem

dave friend Wrote: (06-14-2020, 08:41 AM) -- Please show the exact 404 message including "some controller that I don't have." Just a guess, but I suspect you have not used namespace correctly. -- S...
2,238 Views
8 Replies
06-14-2020, 10:09 AM
Didytz
    Thread: Routes problem
Post: Routes problem

Hi, I have those routes defined: Code: -- $routes->add('registracija', 'Pers/Registracija::index'); $routes->add('registracijaPotvrdi', 'Pers/Registracija::registracijaPotvrdi'); $routes->add...
2,238 Views
8 Replies
06-14-2020, 07:09 AM
Didytz
    Thread: Document root and public folder
Post: RE: Document root and public folder

InsiteFX Wrote: (06-11-2020, 03:24 AM) -- Yes web browsers will caches the results unless you tell them not to. To clear the caches in Chrome to this 1) open up chromes developer tools F12. 2 ...
2,592 Views
6 Replies
06-11-2020, 05:51 AM
Didytz
    Thread: Document root and public folder
Post: RE: Document root and public folder

jreklund Wrote: (06-10-2020, 02:19 PM) -- No idea then, you should not be able to access the files both ways. -- I have update which makes this even more stranger.... I open two css files side by si...
2,592 Views
6 Replies
06-10-2020, 02:30 PM
Didytz
    Thread: Document root and public folder
Post: RE: Document root and public folder

jreklund Wrote: (06-10-2020, 01:58 PM) -- So your document root path looks like this? /var/www/example.com/public_html/public Where public_html contains: app public vendor writable (random files) -...
2,592 Views
6 Replies
06-10-2020, 02:10 PM
Didytz

Theme © iAndrew 2016 - Forum software by © MyBB