|
#1
|
|||
|
|||
|
DIVISION BY ZERO?
hi, thanks to all who dev'd pixelpost, it looks like a great piece!
ive searched all i can, and cant find what im looking for to answer my question, so am braving the veterans to ask; Warning: Division by zero in /home/sites/xxxxxx.com/public_html/film/includes/pixelpost.php on line 6 any idea how to fix this? why is there a division here anyway? is it referring to the heiphen in the databass name ''webxx-thomasps'' ? Last edited by thomasps; 04-05-2007 at 03:01 AM. |
|
#2
|
|||
|
|||
|
really no one knows the prob?
i am guessing it is because my web host names my databass with a "-" in it.. is that correct? please someone help me out. thanks |
|
#3
|
||||
|
||||
|
line 6 points to the version number of Pixelpost which is encoded in base64 in pixelpost.php
please have a look into pixelpost.php line 50 and tell what value you have in $version. KArin |
|
#4
|
|||
|
|||
|
ah jesus. i just realised its not pointing to the database name, but to
$pixelpost_db_host = "localhost"; // database host, often "localhost" version; $version = "MS41IEZpbmFsIC0gSnVseSAyMDA2"; |
|
#5
|
||||
|
||||
|
localhost for database host is right for the most database installation.
Don't confuse that with database name! My version string (for 1.6beta!) is $version = "MS42IEJldGEgKGxpZmUgb24gdGhlIGVkZ2UhKSAtIE1hcmNoI DIwMDc="; In Database it says for version 1.59 which is correct for 1.6beta KArin |
|
#6
|
|||
|
|||
|
i really cant see that being the problem..
its in line 6 ; $pixelpost_db_host = 'localhost'; // database host, often "localhost" but i cant see anything wrong there either. fuck knows why it wont set up. this is getting ridiculous now :'( spent a long time on it, just cant figure it out :'( im getting this error in the pixelpost admin panel... i get a different one if i try to go straight to the desired web page.. lemme just grab that.. |
|
#7
|
|||
|
|||
|
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/sites/xxxxxxxx.com/public_html/film/index.php on line 740
is the error i get when im looking straight at the desired page i am pointing at. (xxxxxx obviously isnt actual address, just keepin it anonymous till i fix the problems!) |
|
#8
|
||||
|
||||
|
That's the correct string for Version 1.5.
__________________
My Photoblog If you find my help useful please consider feeding the PixelPost Kitty If you're short on cash just feed my ego |
|
#9
|
|||
|
|||
|
no one can help with the problem? :'( its busting my balls
|
|
#10
|
||||
|
||||
|
Do you have any special characters in your DB password?
__________________
My Photoblog If you find my help useful please consider feeding the PixelPost Kitty If you're short on cash just feed my ego |
| Post Reply |
| Thread Tools | |
|
|