Closed ghost closed 6 years ago
What is the database error that you get?
The purpose of that change was to enable logging of database errors, so could it be that you are now seeing a problem that was always already there (somewhere else in the code)?
Error with MySQL (my site name).webid_settings """""""" template/databasepdo.php line 215
Seems like an error somewhere else in the code. Enable debugging (set 'WeBidDebug' to true in common.php) to obtain the backtrace and see which database query caused this error message.
Ok mate I'll try tomorrow
This seems like something is wrong with webid_settings table like missing values or bad value of items.
Could someone please look into it as my skills are limited
So copy and paste here all errors without editing.
Warning: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'aucsta.webid_settings' doesn't exist in /hermes/bosnaweb07a/b1189/ipg.aucstacom/includes/database/DatabasePDO.php on line 215
That error seems to indicate a problem in the database settings. Without a backtrace (see my previous comment) it's impossible to diagnose this.
I just did a fresh install from scratch without any problem. I didn't see this error. Since the problem you have is not related to the change, I suggest you close close this pull request #489 .
so I set webid debug to true and it kept showing this Notice [8] Undefined variable: system on /hermes/bosnaweb07a/b1189/ipg.aucstacom/includes/functions_admin.php line 115 Notice [8] Trying to get property of non-object on /hermes/bosnaweb07a/b1189/ipg.aucstacom/includes/functions_admin.php line 115
What is Your line 115?? Is this:
curl_setopt($curl, CURLOPT_REFERER, $system->SETTINGS['siteurl']);
yes it is
So then what is value of "siteurl" in settings in DB?
this field doesn't exist so that must mean that there is an error with the database system because this is a fresh install
Notice [8] Undefined variable: system on /hermes/bosnaweb07a/b1189/ipg.aucstacom/includes/functions_admin.php line 115
It seems the load_file_from_url function is missing a 'global $system;' line. What happens when you insert that at the start of the function?
I have no idea what to do but I also noticed that in admin version check it says the server can't check url whether it's related I'm not sure
with the last update of this file by moving this you get a serious database error when trying to install. it needs to stay where it is to work