Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   BT.Manager (phpMyBitTorrent) (http://www.bvlist.com/forumdisplay.php?f=23)
-   -   Setup Error (http://www.bvlist.com/showthread.php?t=6260)

Mahmoud 2nd April 2011 02:34

Setup Error
 
i start to install phpmy Bittorrent in my windows sever host
in the step of adding admin i got this error message :

PHP Code:

Error executing SQL Query INSERT INTO torrent_users  (usernameclean_usernamepasswordemailnameuploadedactive,  act_keylevelcan_do)  VALUES('mahmoud','mahmoud','password here ','email is here ',  'Mahmoud ElmasrY'''1,'MC44NzUwMDIwMCAxMzAxNzAzNjcz''admin',  'owner');
Error ID1366
Error Message
Incorrect integer value'' for column 'uploaded' at row 1 

and i try to fix it by insert the value but i failed :sad:
i just only success when i use the localhost database insert statement :

PHP Code:

INSERT INTO `torrent_usersVALUES (10x4d61686d6f7564,  0x6d61686d6f7564'Mahmoud ElmasrY',  0x6d706164742e6f726740676d61696c2e636f6d'0000-00-00 00:00:00',  '*********'NULLNULL'blank.gif''no',  'true'NULLNULLNULLNULLNULLNULL'admin'0x6f776e657200,  10'MC4yNjg3MTAwMCAxMzAxMDg3NTUw'NULLNULLNULL2130706433,  '**********''2011-03-25 23:18:17''yes',  NULL0000''0000x747275650x747275650'0000-00-00  00:00:00'0.0'false'0.0'0000-00-00 00:00:00'NULL'0000-00-00  00:00:00'00'0000-00-00 00:00:00'000x66616c7365NULL); 

and when i return to the index i got blank page
and no data over there :shock:

joeroberts 2nd April 2011 14:06

do you get a blank page before you login or after? did you remove/rename the setup folder?

Mahmoud 2nd April 2011 15:53

Quote:

Originally Posted by joeroberts (Post 27428)
do you get a blank page before you login or after? did you remove/rename the setup folder?

i didn't reach the end of setup and i cant add the admin account throw setup
and when i try to fix the admin error i got blank page without login
the index is blank

joeroberts 2nd April 2011 16:16

open setup/steps/6.php and find
PHP Code:

if ($can_proceed

and add before
PHP Code:

if (!isset($give_sign_up_credit) OR $give_sign_up_credit == "")$give_sign_up_credit 0

drop your data base and try again.

Mahmoud 2nd April 2011 16:18

Quote:

Originally Posted by joeroberts (Post 27431)
open setup/steps/6.php and find
PHP Code:

if ($can_proceed

and add before
PHP Code:

if (!isset($give_sign_up_credit) OR $give_sign_up_credit == "")$give_sign_up_credit 0

drop your data base and try again.

ok sir
i will do it right now
thanks

Mahmoud 2nd April 2011 16:36

Quote:

Originally Posted by joeroberts (Post 27431)
open setup/steps/6.php and find
PHP Code:

if ($can_proceed

and add before
PHP Code:

if (!isset($give_sign_up_credit) OR $give_sign_up_credit == "")$give_sign_up_credit 0

drop your data base and try again.

hello
this only fix the setup add admin step
and still the site blank
and no data appear at all
thanks

joeroberts 2nd April 2011 16:53

Please check your server error logs and set your server to show errors.
Can you provide me with a ling so that I can see?

Mahmoud 2nd April 2011 16:55

Quote:

Originally Posted by joeroberts (Post 27435)
Please check your server error logs and set your server to show errors.
Can you provide me with a ling so that I can see?

how to check that file
and my site url is : http://trackit.tk/pmt
free domain in premium windows host
thanks

joeroberts 2nd April 2011 17:06

to set show_errors you have to do that in your server control panel or php.ini file
to view errors there should be a option there to.
first lets try to fix one thing first open include/fuctions.php
find
PHP Code:

if (ip_valid(&$_SERVER[$c])) { 

and change it to
PHP Code:

if (ip_valid($_SERVER[$c])) { 


Mahmoud 2nd April 2011 19:24

Quote:

Originally Posted by joeroberts (Post 27437)
to set show_errors you have to do that in your server control panel or php.ini file
to view errors there should be a option there to.
first lets try to fix one thing first open include/fuctions.php
find
PHP Code:

if (ip_valid(&$_SERVER[$c])) { 

and change it to
PHP Code:

if (ip_valid($_SERVER[$c])) { 


ok
after the change
i got this in the index :

Quote:


thanks


All times are GMT +2. The time now is 20:13.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.