Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm



Joined: Aug 13, 2009
Posts: 1082

PostPosted: Tue Nov 30, 2021 8:34 pm Reply with quote

When u click on Run Ravenstaller MySQL USER PERMISSIONS CHECK u get this error


Parse error: syntax error, unexpected '&' in /www.bestbuildpc.org/INSTALLATION/classes/dbMysql.class.php on line 42

Code:
   function destroy() {

      settype(&$this, 'null');
   }
 
View user's profile Send private message
neralex
Site Admin



Joined: Aug 22, 2007
Posts: 1700

PostPosted: Thu Dec 02, 2021 2:59 am Reply with quote

Have you tried to remove the unexpected '&' and tested whether it then works?

_________________
Github: RavenNuke  
View user's profile Send private message
hicuxunicorniobestbuildpc







PostPosted: Thu Dec 02, 2021 8:53 am Reply with quote

Today I am testing the whole website and try to solve LIMIT 1. When I remove that typo I get another error.
 
neralex







PostPosted: Thu Dec 02, 2021 4:17 pm Reply with quote

Which PHP version you are using and can you please stay on the related topic, thanks?
 
hicuxunicorniobestbuildpc







PostPosted: Fri Dec 03, 2021 3:50 pm Reply with quote

neralex wrote:
Which PHP version you are using and can you please stay on the related topic, thanks?


As u see I can not choose higher than that.



phpversion.png
 Description:
 Filesize:  20.46 KB
 Viewed:  231 Time(s)

phpversion.png


 
hicuxunicorniobestbuildpc







PostPosted: Sun Dec 05, 2021 4:44 pm Reply with quote

neralex wrote:
Have you tried to remove the unexpected '&' and tested whether it then works?


I removed that typo and I got this

Code:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /www.bestbuildpc.org/INSTALLATION/classes/dbMysql.class.php:46 Stack trace: #0 /www.bestbuildpc.org/INSTALLATION/serverMysqlUserPermissionsCheck.php(5): dbMysql->dbServerConnect() #1 {main} thrown in /www.bestbuildpc.org/INSTALLATION/classes/dbMysql.class.php on line 46


Line 46:
Code:
$_link = @mysql_connect($this->dbhost, $this->dbuser, $this->dbpass);

Code:


   function dbServerConnect() {
      $_link = @mysql_connect($this->dbhost, $this->dbuser, $this->dbpass);
      if (!$_link) {
         $_msg = 'MySQL Server Not Connected: ' . mysql_error();
         $this->xhtmlMsgWrapper($_msg,'error');
         $this->addDefaultXhtmlTemplate('foot');
         die();
      }
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©