close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Converting code from 5.7 to php7

Thread began 2/05/2019 11:28 am by lr_leal239405 | Last modified 2/12/2019 12:20 pm by Ray Borduin | 65 views | 13 replies |

lr_leal239405

Converting code from 5.7 to php7

This is the page with the problem (on a testing site).

I get a generic error 500 on browser after I tried logging in using php 7 +.

(Full msg on private)

Sign in to reply to this post

Ray BorduinWebAssist

This is a hand coded php file with hand coded database references. I couldn't debug this without direct FTP access. I'd start by adding this to the top of the page:

php:
<?php

ini_set
("display_errors",1);
?>


That should make the page give a true error message instead of the general 500 error.

Sign in to reply to this post

lr_leal239405

the Display Errors line is there:

I created a fake db since I can't disclose connection with actual connection:

See private below

Sign in to reply to this post

Ray BorduinWebAssist

I'm not sure what folder the FTP gave me access to, but I can't seem to browse to the files in it. I'll need to be able to view and edit the files to debug them.

Sign in to reply to this post

lr_leal239405

http://www.converteraccessorydev.com/temp/test.php

'temp' folder is the one.

Thanks.

Sign in to reply to this post

Ray BorduinWebAssist

Let me know once you have the files in an area where I can reproduce the problem.

Sign in to reply to this post

lr_leal239405

So, I gave access to the actual folder. See below more info on private msg.

Sign in to reply to this post

lr_leal239405

Don't know if you were looking at it at about 1:20pm est but I had to replace with cx.

Sign in to reply to this post

lr_leal239405

I will need your help to convert the code. Let me know if you are available tomorrow night. You can add the time you already spent on it. Thanks much! I can also do your afternoon but it would be no voice, just text messaging thru Skype (not at home - have boss sitting near me).

Sign in to reply to this post

Ray BorduinWebAssist

I can work with you tonight... What times are you available and what number should I call? Use the private area to respond.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...