Questions tagged as 'mvc'

1
answer

How to modify background image of a web app after having done deployment?

I did the deployment of a web app, and I realized that the background image that I put in the body makes it difficult to read the content, so I want to change it, and try to do the publish and rebuild again but it has not worked that way. <...
asked by 23.08.2018 / 16:05
1
answer

error when returning a generic list linq

I have the following problem, when returning a list generated in a method for a viewbag it throws an error to me at the moment of the return, I put the image to them so that they see where the error throws me public List<Card> GetCar...
asked by 16.04.2018 / 17:03
1
answer

Render HTML saved in a SQLServer database field

I have HTML saved as Varchar in a SQL Server database. I'm trying to insert this HTML in a view but in doing so, it is passed as text and not as HTML (BUT, HTML adds double quotes at the beginning and end, which does not allow rendering. Th...
asked by 14.02.2018 / 18:08
2
answers

MVC: Loading incorrect list

Greetings, help please, when I EDIT some value of the properties of the collection this is not reflected in the returned views, for example, when I try to EDIT the age allows me to do it, but when I save I do not see the change reflected, becaus...
asked by 10.09.2017 / 15:13
1
answer

Problem redirecting from the controller

When registering a user I send and receive from the model in the following function: $respuesta=Datos::RegistroUsuarioModel($datosusuarios,"usuarios"); if($respuesta == "success"){ header("location.index.php?action=ok");...
asked by 17.08.2017 / 19:26
1
answer

php error Message: Unsupported operand types

Hi, I'm doing a php operation with parentheses; and I get this error error code: Fatal error: Unsupported operand types in C:\xampp\htdocs\olPrueba2\application\controllers\Admin.php on line 705 A PHP Error was encountered Seve...
asked by 07.04.2018 / 00:56
1
answer

Incorrect Data to Get COUNT value of a query with rowCount PDO - PHP

I'm doing a query on the model of a web application in PHP with MVC . The idea is to make a query in which to put the value in empresa_id I see the total rows with that company, for this I used COUNT() in the query...
asked by 06.04.2018 / 18:23
1
answer

error when publishing Azure site

Create an application with the WebAplication template of Visual Studio 2015 with MVC, it handles the Scripts and CSS by bundle, it turns out that When I publish in Azure I do not load any style, I could not make it published correctly....
asked by 30.09.2016 / 16:04
1
answer

Apache tomcat spring mvc webapp file upload

I am creating an application with Spring MVC, in which users upload files, I understand that the files can not be located within the project since this would make my .WAR file very heavy and these files would be lost if I re-deploy the applicati...
asked by 02.03.2017 / 06:41
2
answers

illegal string offset PHP

If you know how I could resolve this, I would appreciate it very much: PROBLEM:    illegal string offset 'index (can be "id" or another cualqiera)' This is coming to me when I try to get information from the database that stores my i...
asked by 18.08.2018 / 19:33