|
Author |
Thread Statistics | Show CCP posts - 2 post(s) |
S'if
|
Posted - 2008.12.13 22:26:00 -
[1]
just installed this locally on my PC and I'm getting the following error message repeating multiple times:
Warning: Division by zero in C:\xampp\htdocs\outofeve\includes\functions.php on line 141
Any ideas?
|
S'if
|
Posted - 2008.12.14 11:09:00 -
[2]
Originally by: Azazel Mordred
Originally by: S'if just installed this locally on my PC and I'm getting the following error message repeating multiple times:
Warning: Division by zero in C:\xampp\htdocs\outofeve\includes\functions.php on line 141
Any ideas?
Looks like your "keypass" file is either empty or doesn't exist. You'll need to create a new file with a single "secret" word in it, and check that config.php's option "$config['site']['keypass']" points to it.
Does that file need to have a specific name or can I crete any randomnly named txt file? My path is currently set as '/outofeve/ooekeypath' - and I created a folder in the install directory called ooekeypath and put the txt file called ooekeypass.txt in there - is that right?
|
S'if
|
Posted - 2008.12.14 13:35:00 -
[3]
Originally by: Ben Thomas
Originally by: S'if Does that file need to have a specific name or can I crete any randomnly named txt file? My path is currently set as '/outofeve/ooekeypath' - and I created a folder in the install directory called ooekeypath and put the txt file called ooekeypass.txt in there - is that right?
No. In that case the path should be (assuming ooekeypath is inside your outofeve directory)
$config['site']['keypass'] = 'C:\xampp\htdocs\outofeve\ooekeypath\ooekeypass.txt';
What was originally referred to in the config file was a Linux file path. As you are using Windows, you need to use the exact path to the file, as I have provided above for you.
Hope this helps!
Yep - I thought I'd tried using an exact path but I just tried again and its all working now :) Must have mistyped something first time round. Thanks!
|
S'if
Minmatar
|
Posted - 2008.12.30 23:17:00 -
[4]
OK I got everything running fine on my local test server and am now trying to install this on my host. I can register new members fine as I can see them in the database, however when I try to login nothing happens and I return to the main page.
Is this something to do with the encyryption file?
|
S'if
Minmatar
|
Posted - 2008.12.31 18:13:00 -
[5]
Originally by: Walkin' Dude
Quote: same problem on 2 servers, already ask several time about this bug but no real answer. Hope someone have the answer...
What version of php is on the host? Think you need php 5.2+
Well I'm running PHP Version 5.2.0-8+etch13. I have PDO enabled and the pdo mysql drivers installed as well. Can register just can't log in :(.
|
S'if
Minmatar
|
Posted - 2009.01.06 14:44:00 -
[6]
Originally by: Pronas
Originally by: S'if Edited by: S''if on 31/12/2008 00:03:32 OK I got everything running fine on my local test server and am now trying to install this on my host. I can register new members fine as I can see them in the database, however when I try to login nothing happens and I return to the main page.
Is this something to do with the encryption file?
same problem on 2 servers, already ask several time about this bug but no real answer. Hope someone have the answer...
No one hass any ideas about this then? Really frustrating as it is such a good bit of software.
|
S'if
Minmatar
|
Posted - 2009.01.22 23:35:00 -
[7]
Quote:
Found a workaround on an earlier page:
Originally by: Tinka Blackmore I has the same problem.
FIX: change function QueryA in includes/database.php
function QueryA($sql) { $rs = $this->Query($sql); if ($rs) { //if ($rs->rowCount() > 0) return $this->rsToArray($rs); //else //return false; } else print_r(array('errorInfo' => $this->conn->errorInfo(), 'sql' => $sql)); }
Than you can login...
Function is a bit different now, but the principle is the same.
Love the program. Excellent work. I would like to make one recommendation. For the transactions lists, it'd be great to filter on buy or sell orders.
Can you explain what I need to do as I don't quite understand. I tried replacing the QuoteA function with the one above but got an error message. |
S'if
Minmatar
|
Posted - 2009.04.07 00:10:00 -
[8]
Edited by: S''if on 07/04/2009 00:11:37
Fatal error: Call to a member function execute() on a non-object in /usr/local/psa/home/vhosts/freelancerunion.co.uk/httpdocs/outofeve/includes/database.php on line 18
Made the change to includes/database.php and am now getting this error when trying to register a character's API details.
|
|
|
|