Bravo List
Register
Go Back   > Bravo List > Source Code > Trackers > Gazelle
Reply
  #21  
Old 20-01-10, 01:26
zuzubv's Avatar
zuzubv zuzubv is offline
Member
 
Join Date: Dec 2008
P2P
Posts: 7
Default
add this 3 lines

PHP Code:
#include "assert.h"                                                                                                             
#include "string.h"                                                                                                             
#include "stdlib.h" 
in header of this files

sql_result.h
stream_int.h
bt_misc.cpp
bvalue.cpp
virtual_binary.cpp
xif_value.h

when you have make error, type make clean then make again

LE: and in tracker_input.cpp

LE2: and if you got LONG_LONG_MAX error

add to tracker_input.cpp

PHP Code:
#include <climits> 
if not works

then make clean, and add this

PHP Code:
#define LONG_LONG_MAX 9223372036854775807LL 
and then make clean and again MAKE and you got it

Last edited by zuzubv; 20-01-10 at 04:24.
Reply With Quote
The Following User Says Thank You to zuzubv For This Useful Post:
Phogo (22-11-10)
  #22  
Old 20-01-10, 11:52
mrs's Avatar
mrs mrs is offline
Senior Member
 
Join Date: Jul 2008
P2P
Posts: 17
Thumbs up
I have done all that you said. Now i have jus one error:

PHP Code:
FILE_SOURCE -fno-strict-aliasing -fwrapv -funroll-loops -fexpensive-optimizations -O3 -MT bt_tracker_url.lo -MD -MP -MF .deps/bt_tracker_url.Tpo -c bt_tracker_url.cpp  -fPIC -DPIC -.libs/bt_tracker_url.o
bt_tracker_url
.cpp:4:38errorboost/algorithm/string.hppNo such file or directory
bt_tracker_url
.cpp:6error'boost' is not a namespace-name
bt_tracker_url
.cpp:6errorexpected namespace-name before ';' token
bt_tracker_url
.cppIn member function 'void Cbt_tracker_url::write(const std::string&)':
bt_tracker_url.cpp:45error'istarts_with' was not declared in this scope
make
[2]: *** [bt_tracker_url.loError 1
make
[2]: Leaving directory `/home/marius/mydomain/xbtt/build/xbtt/src/misc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/marius/mydomain/xbtt/build/xbtt/src/misc'
make: *** [all-recursive] Error 1 
Reply With Quote
  #23  
Old 20-01-10, 15:35
zuzubv's Avatar
zuzubv zuzubv is offline
Member
 
Join Date: Dec 2008
P2P
Posts: 7
Default
do you type make clean and again make ?

if yes, then include the 3 lines in bt_tracker_url.cpp too
Reply With Quote
  #24  
Old 20-01-10, 18:36
Laffin's Avatar
Laffin Laffin is offline
Senior Member
 
Join Date: Oct 2008
Posts: 32
Default
It doesnt matter what you type or include, if you dont pay attention to the log file and errors. just spewing possible solutions will just create more problems.
Quote:
bt_tracker_url.cpp:4:38: error: boost/algorithm/string.hpp: No such file or directory


looks like you have a mis-installation of the boost library, (re)install the boost libs and headers.


Reply With Quote
  #25  
Old 20-01-10, 22:46
mrs's Avatar
mrs mrs is offline
Senior Member
 
Join Date: Jul 2008
P2P
Posts: 17
Default
Quote:
zuzubv

do you type make clean and again make ?

if yes, then include the 3 lines in bt_tracker_url.cpp too
i have included the 3 lines


Quote:
Originally Posted by Laffin View Post
It doesnt matter what you type or include, if you dont pay attention to the log file and errors. just spewing possible solutions will just create more problems.


looks like you have a mis-installation of the boost library, (re)install the boost libs and headers.


[/COLOR][/COLOR]
and you are right, boost library was not installed. I have installed it and now i have no errors when i run make.

But i'm not ready yet :secret: maybe i will come with another questions

Thank you


Edited

I have executed ./xbt_tracker xbt_tracker.conf and all is ok, executed install.php, config.php file was created automatically, i have modifyed ip adress and port in my database... but when i try to login i receive a blank screen. I have turned display errors on, and i have this error:

Code:
Notice: Undefined index: HTTPS in /home/admin/mydomain/classes/config.php on line 10

Fatal error: Class 'Memcache' not found in /home/admin/mydomain/classes/class_cache.php on line 213

Last edited by mrs; 21-01-10 at 00:05.
Reply With Quote
  #26  
Old 21-01-10, 00:07
zuzubv's Avatar
zuzubv zuzubv is offline
Member
 
Join Date: Dec 2008
P2P
Posts: 7
Default
you don't have memcache installed

check google
Reply With Quote
  #27  
Old 21-01-10, 00:24
mrs's Avatar
mrs mrs is offline
Senior Member
 
Join Date: Jul 2008
P2P
Posts: 17
Default
Quote:
Originally Posted by zuzubv View Post
you don't have memcache installed

check google
In my php.ini it exists mod_mem_cache

Code:
Loaded Modules 	core prefork http_core mod_so mod_auth_basic mod_auth_digest mod_authn_file mod_authn_alias mod_authn_anon mod_authn_dbm mod_authn_default mod_authz_host mod_authz_user mod_authz_owner mod_authz_groupfile mod_authz_dbm mod_authz_default util_ldap mod_authnz_ldap mod_include mod_log_config mod_logio mod_env mod_ext_filter mod_mime_magic mod_expires mod_deflate mod_headers mod_usertrack mod_setenvif mod_mime mod_dav mod_status mod_autoindex mod_info mod_dav_fs mod_vhost_alias mod_negotiation mod_dir mod_actions mod_speling mod_userdir mod_alias mod_rewrite mod_proxy mod_proxy_balancer mod_proxy_ftp mod_proxy_http mod_proxy_connect mod_cache mod_suexec mod_disk_cache mod_file_cache mod_mem_cache mod_cgi mod_version mod_php5 mod_proxy_ajp mod_ssl
Reply With Quote
  #28  
Old 21-01-10, 00:57
Laffin's Avatar
Laffin Laffin is offline
Senior Member
 
Join Date: Oct 2008
Posts: 32
Default
that looks more like apache modules than php modules
Reply With Quote
  #29  
Old 21-01-10, 01:17
mrs's Avatar
mrs mrs is offline
Senior Member
 
Join Date: Jul 2008
P2P
Posts: 17
Default
Quote:
Originally Posted by Laffin View Post
that looks more like apache modules than php modules
Quote:
memcachememcache support enabled
Active persistent connections 0
Version 2.2.5
Revision $Revision: 1.111 $

Directive Local Value Master Value
memcache.allow_failover 1 1
memcache.chunk_size 8192 8192
memcache.default_port 11211 11211
memcache.default_timeout_ms 1000 1000
memcache.hash_function crc32 crc32
memcache.hash_strategy standard standard
memcache.max_failover_attempts 20 20
I have found how to install it for centos 5, here: How To Install memcached with memcache PHP Extension on CentOS 5.x


But i still have errors:

Code:
Notice: Undefined index: HTTPS in /home/admin/christianmovies.eu/classes/config.php on line 10

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/admin/christianmovies.eu/classes/config.php:10) in /home/admin/christianmovies.eu/classes/script_start.php on line 36

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/admin/christianmovies.eu/classes/config.php:10) in /home/admin/christianmovies.eu/classes/script_start.php on line 36

Notice: Undefined index: logged_user in /home/admin/christianmovies.eu/classes/script_start.php on line 42

Notice: Undefined index: keeplogged in /home/admin/christianmovies.eu/classes/script_start.php on line 57

Notice: Undefined index: clearcache in /home/admin/christianmovies.eu/classes/class_cache.php on line 397

Notice: Undefined index: querytime in /home/admin/christianmovies.eu/classes/class_mysql.php on line 160

Fatal error: Call to undefined function mb_detect_encoding() in /home/admin/christianmovies.eu/classes/script_start.php on line 768
Reply With Quote
  #30  
Old 21-01-10, 01:56
Laffin's Avatar
Laffin Laffin is offline
Senior Member
 
Join Date: Oct 2008
Posts: 32
Default
turn off error reporting in php.ini, (yes them wonderful errors that help you find problems in scripts).

Gazelle isnt coded very well to run with error reporting on. These error reports throw off some of the functions that require no display code in order to interact with the page headers.

so you have a snowball effect as you just witnessed,

Enable the error_log, so you can still find php errors. just disable the error reporting.
Reply With Quote
Reply

Tags
debian , gazelle , server , set

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
gazelle on centos 5.3 mrs Gazelle 11 02-08-11 04:36
Looking For a Coder for gazelle thephoenix Gazelle 2 29-05-10 01:29
Installing Webmin and CSF on Debian Lenny Phogo Tutorials 0 26-01-10 13:25
[HELP]Memcache gazelle amnezia Gazelle 1 20-09-09 03:58
Help with gazelle! Viperia Gazelle 4 02-09-09 07:50



All times are GMT +2. The time now is 07:36. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2018, vBulletin Solutions Inc.