PHP Upgradation issue [closed] - 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 8 years ago.
Improve this question
Recently we have upgraded our PHP version in C-panel to PHP Version 5.4.36. After updation we have run the Easy Apache successfully. After that Some of the websites are getting errors in website. I am giving you some sample examples. Can you please let us know the possibilities and the solutions.
http://www.kopanaacreations.com/bollywood-replica.html
http://supremelaptopservices.com/
Prompt response will be highly appreciated.
Regards,
Subbareddy

The first one is actually an out of memory error, which means that either the images you have uploaded are too big to be processed by the GD module with your current memory settings or there is another error going on there.
The second site has errors because you have strict errors enabled (they are enabled by default on newer version of PHP)
Disabling Strict Errors
See the link above on how to rectify this!

Related

can you spot the mistake? [closed]

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
this is the ui when running on my localhost
this is the ui when running on cpanel hosting
my question is, what is wrong with the ui? everytime i run my application on server, the sidebar always gone wrong
for little information, i use Laravel 5.6 and AdminLTE3 template.
the top navbar and the sidebar is at different .blade.php file. i combine them in master template that contains them (using #include) and the content of page (using #yield).
my master.blade.php
is there anything's wrong with my code, or, this is the bugs from adminLTE 3?
thanks for your help.
I was seen your web & I tried to understand your problem. I found 3 errors in console related to your css files. I think that problem happens because that css file errors. but i can't understand why it shown that errors in console. I attached snapshot of that error, see this below
enter image description here

php files are not working on server [closed]

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 am recently doing one project that i face issue php files not working on server cpanel.
error :
while php files are run shown below error
OUTPUT :
No input file specified.
The root cause of the error is that PHP cannot find the file the server is telling it to look for.
It must be an issue with the .htaccess or insufficient file permission.
Check the .htaccess file.
Check the permission of the file. If it does not have read permissions, add it.
Hope it helps.

PHP SQL - not working code after upload on server [closed]

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
Issue: I made an application without problems working on localhost where I debuged it. But when I uploaded it on server in internet (my school server) few SQL didnt work, there were no PHP error messages and i tested SQL code in phpMyAdmin(on server) and there it worked.
Guys,can you help me solve this please?
The main problem is that you cannot provide any useful information about whats wrong. In this case, we need to tell PHP that for any and every problem please send it down to the client on page load. Normally in production this is precisely what you do not want to do but in this case- we need it.
Put the code below at the beginning of your index.php file, or whatever file your web server is configured to send requests to:
ini_set('display_startup_errors',1);
ini_set('display_errors',1);
error_reporting(E_ALL);
So long as your web server is successfully sending requests there, something should come up on page load that will help us determine the issue.

Migrating a PHP 5.2 Website [closed]

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'm currently working on a website for a client, but this website is running PHP version 5.2.17.
Can anyone recommend the best way to tackle this? I've experience in HTML/CSS/JS/JAVA with a basic understanding of PHP.
I'm thinking of rebuilding the website with a HTML5 framework and basically dumping this on top of the old PHP pages, integrating the MySQL database and passing through the links to not lose SEO, but ultimately do worry it may affect the site...
I've tried running a WAMP server but as it only goes as low as version 5.3 I get constant errors and the page displays without the CSS and has words overlapping etc.
Images attached.
The errors you are encountering are to do with files which are being included not being found. Check through the code and identify the files that are being requested, then locate those files and correct the file paths, if the files can not be restored then remove the include statements entirely or comment them out, make sure they have been removed from evrrywhere.

internal Server Error CrazyDomains [closed]

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 would like to ask if there's something wrong to my webhost or with my code.
I successfully try and test all over my custom php website on my localserver using wamp.
As I upload into my webhost (i used crazydomains) and setup the database usernames, passwords etc.
And when the time I accessed it, it says internal server error.
Have you encounter this already?
Based on your comments you are using password_hash() and the php version on the server is 5.4. That is going to lead to fatal errors for an undefined function as password_hash() is available from php 5.5 on.
There is a library to provide forward compatibility for these functions, password_compat.
This will solve your problems where password_hash() is concerned, but if you run into more problems, you should add error handling and display them to see what is going on. To do that, just add this to the top of your script:
ini_set('display_errors',1);
error_reporting(E_ALL | E_STRICT);

Categories