Register for your free account! | Forgot your password?

You last visited: Today at 11:32

  • Please register to post and access all features, it's quick, easy and FREE!


[Release] New Flyff Website

Reply
 
Old 09/16/2017, 15:47   #76
 
elite*gold: 0
Join Date: Aug 2017
Posts: 81
Received Thanks: 16
Hey, Something seems to be going wrong when trying to connect to my database.

Quote:
Warning: odbc_errormsg() expects parameter 1 to be resource, boolean given in D:\home\site\wwwroot\Source\Classes\Database.php on line 164
I have updated the connection.php with my host of the DB and pass word etc and I get the error. The DB is hosted on a seperate service but it is open to the public (I can connect with it from my own pc no problems).

Any ideas what might cause this?

Edit: got it to work, had to add my port to the db connection and it worked.

Edit2: I noticed the website database does not include the donation table, Is this intentional or did I do something wrong with restoring the db?



FlyffDeveloper is offline  
Old 10/26/2017, 11:52   #77
 
elite*gold: 0
Join Date: Aug 2017
Posts: 81
Received Thanks: 16
Bumping my question about the donation table in the database! Any recommended guides for implementing donations?


FlyffDeveloper is offline  
Old 11/08/2017, 22:13   #78
 
elite*gold: 0
Join Date: Apr 2012
Posts: 11
Received Thanks: 1
Help plz

Fatal error: Uncaught Error: Call to undefined function odbc_connect() in C:\xampp\htdocs\Source\Classes\Database.php:11 Stack trace: #0 C:\xampp\htdocs\Source\Includes\Settings.php(3): Database->__construct() #1 C:\xampp\htdocs\Source\Includes\Includes.php(11): require_once('C:\\xampp\\htdocs...') #2 C:\xampp\htdocs\Source\Includes\Config.php(9): require_once('C:\\xampp\\htdocs...') #3 C:\xampp\htdocs\index.php(3): require_once('C:\\xampp\\htdocs...') #4 {main} thrown in C:\xampp\htdocs\Source\Classes\Database.php on line 11
truenodark is offline  
Old 11/09/2017, 02:11   #79
 
elite*gold: 0
Join Date: Jan 2010
Posts: 119
Received Thanks: 7
What is new with the v2?


pakinglalat is offline  
Old 11/09/2017, 09:48   #80
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,641
Received Thanks: 1,560
Quote:
Originally Posted by truenodark View Post
Help plz

Fatal error: Uncaught Error: Call to undefined function odbc_connect() in C:\xampp\htdocs\Source\Classes\Database.php:11 Stack trace: #0 C:\xampp\htdocs\Source\Includes\Settings.php(3): Database->__construct() #1 C:\xampp\htdocs\Source\Includes\Includes.php(11): require_once('C:\\xampp\\htdocs...') #2 C:\xampp\htdocs\Source\Includes\Config.php(9): require_once('C:\\xampp\\htdocs...') #3 C:\xampp\htdocs\index.php(3): require_once('C:\\xampp\\htdocs...') #4 {main} thrown in C:\xampp\htdocs\Source\Classes\Database.php on line 11
You need to enable ODBC in your PHP settings.
xTwiLightx is offline  
Thanks
1 User
Old 11/09/2017, 15:20   #81
 
elite*gold: 0
Join Date: Apr 2012
Posts: 11
Received Thanks: 1
Quote:
Originally Posted by FlyffDeveloper View Post
Hey, Something seems to be going wrong when trying to connect to my database.



I have updated the connection.php with my host of the DB and pass word etc and I get the error. The DB is hosted on a seperate service but it is open to the public (I can connect with it from my own pc no problems).

Any ideas what might cause this?

Edit: got it to work, had to add my port to the db connection and it worked.

Edit2: I noticed the website database does not include the donation table, Is this intentional or did I do something wrong with restoring the db?

Do we need to open the ports? I have the port in the DB and on the page but I keep getting the error
truenodark is offline  
Old 11/10/2017, 12:16   #82
 
elite*gold: 0
Join Date: Aug 2017
Posts: 81
Received Thanks: 16
If your DB is on a different server/pc/vm/whatever than the website then yes you should open the port to the db for external locations to be allowed to access it.
FlyffDeveloper is offline  
Old 11/11/2017, 19:56   #83
 
elite*gold: 0
Join Date: Nov 2017
Posts: 1
Received Thanks: 0
help

hello

I have this problem

Warning: require_once(__DIR__/Source/Includes/Config.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp2\htdocs\index.php on line 2

Fatal error: require_once() [function.require]: Failed opening required '__DIR__/Source/Includes/Config.php' (include_path='.;C:\xampp2\php\pear\') in C:\xampp2\htdocs\index.php on line 2
leo15280 is offline  
Old 11/15/2017, 06:57   #84
 
elite*gold: 0
Join Date: Mar 2014
Posts: 271
Received Thanks: 13
Help me with these errors please, I fixed the php to odbc error first, then last is theses,

Img:
yazuka21 is offline  
Old 11/29/2017, 12:33   #85
 
elite*gold: 0
Join Date: Mar 2014
Posts: 271
Received Thanks: 13
Up for my problem, I changed the "erendora.eu" from
Quote:
<?php
require_once($_SERVER['DOCUMENT_ROOT'].'/Source/Includes/Config.php');
$controller = new News();
$object = $controller->GetTopicValues('http://forum.erendora.eu', 'http://37.59.4.34/forum/syndication.php?fid=10&limit=15');
if(!$object['bool']){
echo Validation::Alert2($object[0], $object[1]);
}else {
require_once($path . DEFAULT_TEMPLATE . 'Pages/News/Parts/NewsOutput.php');
}
. Still occuring the error.
yazuka21 is offline  
Old 12/11/2017, 05:19   #86
 
elite*gold: 0
Join Date: Mar 2014
Posts: 271
Received Thanks: 13
Help please. Thank you!
yazuka21 is offline  
Old 12/28/2017, 20:03   #87
 
elite*gold: 0
Join Date: Jun 2016
Posts: 41
Received Thanks: 6
kleine frage bei mir oben rechts bei den statsanzeigen zeigt der mir eine meldung an womit ich nichts anfangen kann

Notice: Undefined offset: 1 in C:\Source\Controller\Stats.Controller.php on line 76

kann mir einer sagen wie ich das beheben kann ich verstehe das nicht wirklich was der will verstehe nur das irgendwas undefiniert sein soll oder so -.-
Starsky85 is offline  
Old 01/04/2018, 12:22   #88
 
elite*gold: 0
Join Date: Aug 2013
Posts: 231
Received Thanks: 39
Quote:
Originally Posted by xsrf View Post
#Update

- AllInOne Downloadlink add ( Download v2 AiO )
- Image Directory added

All known issues are fixxed in this version of the website. I release it in case i don't need it anymore and last time i sold it was about a half a year.
it is have SQL Injection or it fixed in everything so it is secure to use ?
OverLimitNetwork is offline  
Old 01/04/2018, 17:04   #89
 
elite*gold: 0
Join Date: Aug 2009
Posts: 35
Received Thanks: 2
tnx for the files mate
klangun is offline  
Old 01/16/2018, 23:16   #90
 
elite*gold: 0
Join Date: Sep 2010
Posts: 27
Received Thanks: 1
Quote:
Originally Posted by xTwiLightx View Post
You need to enable ODBC in your PHP settings.
How i can do this? I have the same error..


Sgd33Sgd is offline  
Reply



« [Release] Halloween Wings | [Release]Security Fixes »



All times are GMT +2. The time now is 11:32.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.