Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
38 views

"Apache error with misformatted or invalid characters in route containing ':' on local WAMP server"

I'm running a Slim Framework project locally on a WAMP server using Apache. In certain routes that contain the : character (e.g. /solicitudes:nuevo), I get the following error in the Apache log: (...
Santi Lagos's user avatar
0 votes
0 answers
70 views

Ruby on rails - I want a behavior, when validity is true, but validity is always true, as Required: false,

My issue is precisely this. I am using simple forms and one of my sections (one_liner), is not behaving as wanted. As it can be seen from the picture, the label should not hover, if nothing is ...
Mahir Ekinci's user avatar
0 votes
0 answers
29 views

Slim/Twig route not found (404) when trying to duplicate an invoice via AJAX

I'm working on a Laravel application for invoice management. I'm trying to implement a feature to duplicate invoices, but I'm encountering a 404 "Resource not found" error when making the ...
Bumbazzaaaa's user avatar
1 vote
1 answer
36 views

Rails Cookies not updating on other pages

Is there a way in Rails to delete/reset a particular cookie when the value has been changed on one page? So I have 10 tabs, if the cookie is changed on tab 1 it doesn't update on the rest of the tabs ...
Manav's user avatar
  • 659
0 votes
1 answer
31 views

Dynamic nginx root based on the first URL segment

First of all, I've searched across the SO and elsewhere, but looks like I just can't make this thing to work. I was "scraping" what other people tackled and trying to combine their solutions,...
Oliver Maksimovic's user avatar
0 votes
0 answers
16 views

Splunk: undefined setting in transforms.conf: python.version

When I generate app manifest using slim for a Splunk App, it gives the following warning: slim generate-manifest: [WARNING] /opt/splunk/etc/apps/devtutorial/default/transforms.conf, line 4: Undefined ...
Usman Liaqat's user avatar
0 votes
1 answer
52 views

Slim PHP download loads a page with gibberish

I'm using Slim 4. I am trying to download a file, but when I click on the link, instead of the file downloading, the browser window loads a lot of gibberish. Project structure app (Controller is in ...
cesarcarlos's user avatar
  • 1,365
0 votes
1 answer
39 views

Slim PHP: Download a file from a non-public directory

I have a Slim 4 app which has the site in a public folder. Additionally there are other directories (like app, views, etc.) including one directory called uploads where I save files submitted by the ...
cesarcarlos's user avatar
  • 1,365
1 vote
0 answers
32 views

Slim 4: Getting the current URL for redirection after sign in

I have a Slim PHP (v4) project with several pages requiring the user being signed in. If he lands on on one of this pages (for example project.com/report) the user is taken to the sign up form. The ...
cesarcarlos's user avatar
  • 1,365
0 votes
1 answer
27 views

Issue with updating user profiles via PUT request in Slim Framework

I'm working on a school project where I'm using PHP, Slim Framework, and MySQL to develop an API. I'm encountering an issue when attempting to update user profiles via a PUT request to the /updateuser/...
Sumo Wrestler's user avatar
0 votes
2 answers
57 views

Slim routing in PHP-DI container

I'm moving a project of mine into Slim Microframework, by using PHP-DI containerization. I need to POST some JSON data to http://localhost/api/base (XAMPP) and get a confirmation (at least at the ...
Mauro Ghiglia's user avatar
3 votes
1 answer
161 views

How to install and use "Twig Component" with Slim4

i'm trying to add symfony/ux-twig-component to my Slim 4 project (PHP 8.2) but I don't see how to add the extension in the Twig::class of my container. My project is initialized by my init.php file: //...
zozog's user avatar
  • 31
0 votes
0 answers
121 views

tf.contrib.slim , AttributeError: module 'tensorflow' has no attribute 'contrib'

Code Snippet: import functools import tensorflow as tf from object_detection.core import box_predictor from object_detection.utils import static_shape slim = tf.contrib.slim Error Message: Traceback (...
Vinay Samuel's user avatar
0 votes
0 answers
58 views

The Twig cache isn't working in Slim routes

It might sound a bit vague, but I'd like to know if anyone has had issues using Twig cache in Slim routes and managed to resolve them somehow. I passed the parameter to use cache in the global Twig ...
Christian Moraes's user avatar
0 votes
0 answers
63 views

PHP Slim + Twig: How to load the same dynamic data across every page

I have a website build with Slim PHP (4). The site has a mega menu which we want to build dynamically from a database. The site has a base template (base.twig) which in turn loads the header (header....
cesarcarlos's user avatar
  • 1,365

15 30 50 per page
1
2 3 4 5
189