I have Simple Contact Pro installed and when I log in to the admin section I get blank screen that simply reads error on line 1. If I click refresh then the page inbox.php loads. How can I fix this error when logging into the admin section?
Error on line 1
(8 posts) (2 voices)-
Posted 1 year ago #
-
To have an error on line 1 of the PHP code suggests that an include file is not being loaded. Please contact me and provide as much as you can of the following information:
* The name of your host
* The url and login details for your host's control panel
* Your FTP login details
* The username and password for your simpleContact Pro admin accountI will investigate for you.
Posted 1 year ago # -
Alex,
Unfortunately my employer does not want me to supply you with all of those credentials to our account. Could you please advise me on how to track down which include is not being loaded?
I really appreciate your help with this.
Cory
Posted 1 year ago # -
OK, in that case open sc_admin/include/common.php
At the top of that file you will find a block of code called "error reporting." The code here suppresses PHP / MySQL errors by default.
Change the first line to say:
error_reporting(E_ALL);Change the second line to say:
define("debug",true);Upload this change and try visiting sc_admin. You may get a more complete error message that will help us solve your problem.
Posted 1 year ago # -
I change the error_reporting and uncommented the debug line.
I uploaded those changes and I am still only getting the message Error on Line 1.Posted 1 year ago # -
Unfortunately without some level of access my ability to identify the problem is extremely limited.
I have not had this exact error reported before, but you'd be surprised how often a web server's session functionality is either misconfigured by the host or more complicated than usual.
See the installing simpleContact on Startlogic host forum thread for a case in point.
Please can you at least supply me by email the name of your host and the URL, username and password for your sc_admin panel. If I can determine the precise point at which you see this error and reproduce it I may be able to find a solution.
Posted 1 year ago # -
I sent you the sc_admin login and I also tried the code you mentioned from the Startlogin host. When I put the code from the Startlogin host into my config file you no longer get the error, but it does not let you login. Every time you submit your login information it just reloads the login page.
I decided to try that code since both servers are using the Plesk control system, I thought there might be a similarity.
Posted 1 year ago # -
This error was investigated using privately supplied login details.
It transpired that the server didn't like the 301 redirect in place for the XML file read by the update check.
The URL was corrected to the new URL indicated in the forum post Does simpleContact phone home? and the error stopped occurring.
If you want you can disable the version check, but this was not necessary here.
Please note: simpleContact Pro 2.01 (due after the launch of the dedicated website for these applications) will correct all URLs for the new website.
Posted 1 year ago #
Reply
You must log in to post.