Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 months ago.
Improve this question
I built a website to contain a library catalog. Each book can be edited and deleted. The elimination takes place through normal SQL delete and in localhost it works perfectly. It doesn't work on the Aruba server. I click the button and it does nothing. The code is the exact same. Create and modify any books are all goods, only deleting make problems. There is something I don't know. Can you help me?
In my opinion there is a problem with the php and SQL permissions on the Aruba server but not knowing how to get my hands on it I'm stuck. Can you help me?
The problem was that in the localhost I called the getUser.php page with a small "u". I don't understand why in the JS file where I call the php page it is not case sensitive and instead on the Aruba server it is... in any case the problem was that.
Thanks to everyone who tried to help me.
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
I use MYSQL, PHP 7.2 and MVC architecture but sometimes after inserting data into invoice_table table, invoice_table shown as an empty table, after couple minutes data will come back again.
My Problem is solved by RESTARTING MySql service and thanks to #ADyson and #Your_Common_Sense for Helping me :|.
real Thanks to #Undry.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I am working on some sort of blogging platform in php with a nice material design lite frontend. However I have a page that dynamically loads the content, it works fine in the root directory, but not in my admin directory. I hope you can spot some kind of error/typo in my code, I know the error is in the menu-start file, since disabling it enables loading.
Here is the page that loads the code
and here is the menu-start page
If you need any other code, please ask
You're using relative links for include, which will mess up when you start changing directories. Use a pseudo-absolute path with DOCUMENT_ROOT. Be sure to use this for all of your includes.
<?php include $_SERVER['DOCUMENT_ROOT'].'/menu-start.php'; ?>
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I have a simple php connection to my database, I think i did most of the process right, but when I hit the submit button it just renders my actual php file on my screen.
Make sure you are using a web server that supports PHP. It is rendering the code because PHP is not processing your code and renders it as text.
Try using another web server or install PHP on your current setup.
Also use MySQLi or PDO for your database part (it's safer and mysql_* is deprecated).
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
I'm trying to create a news system.
I'm implementing the ability to edit the news.
But there is a problem, if i change the picture the system sends the change to mysql. but If you change only the text, as the title or description but not edit the image changes are not updated to databse.
if not change the image, the change does not come. because the variable "file" is empty.
Code:
form: http://ideone.com/e62q84
action: http://ideone.com/q3noFc
see above url for my code.
there is a way to continue entering data even if the user chooses to leave the variable "file" empty?
This is happened because may be you check like if(isset($_POST['file'])) so change this to any required filed i.e. if(isset($_POST['title'])) or you can check with button also like if(isset($_POST['submit'])). Hope this help to you. If your issue is different then please add your code so we can identify the bug with your code.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I created php web application like 9gag, the problem is if any one view in chrome it's run nice but in internet explore it does not playing after pressing refresh it works fine. Plz help
Demo link http://myzonevideos.com/play.php?vid=8
Internet Explorer is a one crazy lame browser that ever been created. It must be something about headers of the video you are trying to view on browser.
Also you didn't provide the information that what you are using to play the videos, flash or HTML5?