dsfdsf8888 2017-01-25 06:05
浏览 23
已采纳

PHP页面显示空白页面和本地相同的脚本下载页面

I have a website on php, a Month Before it was working fine but Now i am facing an My Website is Not Loading, I hadn't Change Any thing. After This issue Reported I applied error reporting Lines in PHP File But its Not showing the Errors. so I downloaded the Whole Project and Runs That in Local. but in Local , WHen i Run PHP Script For only this Website it Downloads the Page every time. on Local I tried other script from any other page its working But Not on the web which is giving Issue.

Similarly The Web which is not Working right now. i have an Old Backup so i tried that too to run on local that backup is also doing the same issue.

  • 写回答

1条回答 默认 最新

  • drgovyk64676 2017-02-01 05:50
    关注

    i got the Solution, The Problem was obsoleted Mysql Connection, as the Website was Created in 2014 on mysql Connection. For finding the Solution. I Removed All PHP Code First and Tried to Place The Code Lines One by One. and Then i got to the Solution that All Functions of PHP to SQL were on mysql which was the Issue, i converted All Functions in PDO and its working fine.

    Thank You All of You For Contributing

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 求帮我调试一下freefem代码
  • ¥15 matlab代码解决,怎么运行
  • ¥15 R语言Rstudio突然无法启动
  • ¥15 关于#matlab#的问题:提取2个图像的变量作为另外一个图像像元的移动量,计算新的位置创建新的图像并提取第二个图像的变量到新的图像
  • ¥15 改算法,照着压缩包里边,参考其他代码封装的格式 写到main函数里
  • ¥15 用windows做服务的同志有吗
  • ¥60 求一个简单的网页(标签-安全|关键词-上传)
  • ¥35 lstm时间序列共享单车预测,loss值优化,参数优化算法
  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?