Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Undefined property: Config\Exceptions::$sensitiveDataInTrace
Post: Undefined property: Config\Exceptions::$sensitiveD...

Hi, I have a controller called Attributes which contains this index method: PHP Code: -- public function index($attributeId = null) { if ($attributeId) { $attribut...
1,597 Views
2 Replies
11-23-2021, 02:32 AM
sfarzoso
    Thread: How to get date an interval of Date using the Time class?
Post: RE: How to get date an interval of Date using the ...

InsiteFX Wrote: (10-25-2021, 12:42 AM) -- You would need to extend the Time class and add the method you need to it. -- Hi, I wrote a small helper, hope to help: PHP Code: --
583 Views
2 Replies
10-25-2021, 01:05 AM
sfarzoso
    Thread: How to get date an interval of Date using the Time class?
Post: How to get date an interval of Date using the Time...

Hi, I would like to use the Time class provided by CodeIgniter to easily translate the name through the "toLocalizedString" method. Unfortunately, I didn't found any method that allow me to create a ...
583 Views
2 Replies
10-25-2021, 12:26 AM
sfarzoso
    Thread: max_size fails
Post: RE: max_size fails

I fixed using max_size[delega,1024]
1,214 Views
8 Replies
09-19-2021, 05:36 AM
sfarzoso
    Thread: max_size fails
Post: RE: max_size fails

4096 kb are 4.096 mb
1,214 Views
8 Replies
09-18-2021, 08:04 AM
sfarzoso
    Thread: max_size fails
Post: RE: max_size fails

I have post_max_size to 100M, same for upload_max_filesize, and memory_limit is 32M I followed the documentation so this should be correct: 'delega' => 'mime_in[delega,application/pdf]|max_...
1,214 Views
8 Replies
09-18-2021, 03:21 AM
sfarzoso
    Thread: max_size fails
Post: max_size fails

PHP Code: -- I have this input:     I send the pdf using an AJAX request: var data = JSON.stringify($('input[name="post_data"]').val());     var url = ``;     var $layer = $('');    ...
1,214 Views
8 Replies
09-17-2021, 10:01 AM
sfarzoso
    Thread: Allowed memory size exhausted when using image service
Post: Allowed memory size exhausted when using image ser...

I'm using the image library to store an image on the server, all works well until I send an image of this dimension: 5184 x 3456 This is the function that I've created to store the image: PHP Cod...
494 Views
1 Replies
07-07-2021, 01:45 AM
sfarzoso
    Thread: Refused to get unsafe header "Debugbar-Time"
Post: Refused to get unsafe header "Debugbar-Time"

I'm using the latest version of DataTables and for some reason when I include the "ajax" parameter like this: PHP Code: -- var tableResource = $('#table-resource').DataTable({         processing: t...
729 Views
0 Replies
05-31-2021, 02:07 AM
sfarzoso
    Thread: mime_in throws error when file is not passed
Post: mime_in throws error when file is not passed

I have this code: PHP Code: --   $validationRules = [             'name'          => 'required',             'subject'      => 'required',             'email'        => 'required',          ...
459 Views
1 Replies
05-27-2021, 08:48 AM
sfarzoso
    Thread: How to include script located in node_modules folder using codeigniter 4?
Post: RE: How to include script located in node_modules ...

InsiteFX Wrote: (05-20-2021, 02:41 AM) -- If you look on that page the last code sample is for 2 editors but it is showing all the html code. -- But I cannot use import since is not a module, am I ...
1,079 Views
3 Replies
05-20-2021, 04:15 AM
sfarzoso
    Thread: How to include script located in node_modules folder using codeigniter 4?
Post: How to include script located in node_modules fold...

I need to install this plugin (https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/advanced-setup.html#running-the-editor-method-2) on my application, so I followed the instruction an...
1,079 Views
3 Replies
05-20-2021, 01:55 AM
sfarzoso
    Thread: Cannot generate image preview using Servicess:image
Post: RE: Cannot generate image preview using Servicess:...

there is an example about imagick in codeigniter?
1,276 Views
6 Replies
05-12-2021, 01:26 AM
sfarzoso
    Thread: Cannot generate image preview using Servicess:image
Post: Cannot generate image preview using Servicess:imag...

I'm trying to implement this solutiion How do I convert a PDF document to a preview image in PHP? - Stack Overflow (https://stackoverflow.com/questions/467793/how-do-i-convert-a-pdf-document-to-a-prev...
1,276 Views
6 Replies
05-11-2021, 08:57 AM
sfarzoso
    Thread: Route call wrong method
Post: RE: Route call wrong method

iRedds Wrote: (05-04-2021, 10:45 AM) -- Sorry. I’m completely blind. The problem is that under the route $routes->delete('(:any)', 'Media::delete/$1'); fits DELETE admin/media and DELETE admin...
1,665 Views
7 Replies
05-05-2021, 12:54 AM
sfarzoso
    Thread: Route call wrong method
Post: RE: Route call wrong method

I found another weird issue, I have this route: https://i.imgur.com/P9OQOUo.jpg if I call it using: PHP Code: -- url: `/${$(this).attr('data-id')}/details` -- in $.ajax, I wil get only "${...
1,665 Views
7 Replies
05-04-2021, 02:14 AM
sfarzoso
    Thread: Route call wrong method
Post: RE: Route call wrong method

iRedds Wrote: (05-03-2021, 12:01 PM) -- It is obvious. admin/media/directory === admin/media/(:any) admin/media/directory !== admin/media/directory/(:any) -- So based on your hint, the issue is r...
1,665 Views
7 Replies
05-04-2021, 12:37 AM
sfarzoso
    Thread: Route call wrong method
Post: Route call wrong method

I have this routes: PHP Code: -- $routes->group('admin', function ($routes) { $routes->group('media', [ 'filter' => 'permission:manage-media', 'namespace' => 'App\Controllers', 'co...
1,665 Views
7 Replies
05-03-2021, 10:37 AM
sfarzoso
    Thread: Cannot execute query update with multiple rows
Post: Cannot execute query update with multiple rows

I'm trying to update multiple rows using this code: PHP Code: -- $directoryId = $this->request->getPostGet('directory_id');         $where = $this->request->getPostGet('media_ids');         var_...
582 Views
1 Replies
05-03-2021, 08:13 AM
sfarzoso
    Thread: How to translate month?
Post: How to translate month?

I have this date 3/2021, and I'm trying to translate March into "Marzo", so I did: PHP Code: -- -- locale file: PHP Code: --
652 Views
1 Replies
04-29-2021, 02:07 AM
sfarzoso

Theme © iAndrew 2016 - Forum software by © MyBB