Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > BT.Manager (phpMyBitTorrent)
Reply
  #1  
Old 30th May 2013, 03:09
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 300
Default Pmbt Site migration to other server and (sub)domain...
Hi i just migrated my site succesfull from my old (free) server to a new one...
Everything works fine as far as the tracker is concerned, but something is wrong with the phpbb3 forum,icons don't show up as they should, links have this form www/users/g/i/o/giorgatzelos/phpBB3/styles/subsilver2/imageset/forum_read.gif instead of http://giorgatzelos.cwahi.net/phpBB3...forum_read.gif!... i just reuploaded the site and database and made corrections to the config.php user,password,db name and entered the new ones...is there anything else i should do in order the site functions as it should?

+ i get this error under footer:
Quote:
undefined method dbal_mysqli::sql_numrows() in /www/users/g/i/o/giorgatzelos/include/cleanup.php on line 44
+ ican't login to forum...when i give password and username it returns to the previous page...

these are all the errors i get with google chrome:
Quote:
Failed to load resource: the server responded with a status of 404 (Not Found) http://giorgatzelos.cwahi.net/www/us.../site_logo.gif
Failed to load resource: the server responded with a status of 404 (Not Found) http://giorgatzelos.cwahi.net/www/us...mini_login.gif
Failed to load resource: the server responded with a status of 404 (Not Found) http://giorgatzelos.cwahi.net/www/us...i_register.gif
Failed to load resource: the server responded with a status of 404 (Not Found) http://giorgatzelos.cwahi.net/www/us...n_mini_faq.gif
Failed to load resource: the server responded with a status of 404 (Not Found) http://giorgatzelos.cwahi.net/www/us...ini_search.gif
Failed to load resource: the server responded with a status of 404 (Not Found) http://giorgatzelos.cwahi.net/www/us...forum_read.gif
Failed to load resource: the server responded with a status of 404 (Not Found) http://giorgatzelos.cwahi.net/www/us...pic_latest.gif
Failed to load resource: the server responded with a status of 404 (Not Found) http://giorgatzelos.cwahi.net/www/us...d_subforum.gif
Failed to load resource: the server responded with a status of 404 (Not Found) http://giorgatzelos.cwahi.net/www/us.../site_logo.gif
Failed to load resource: the server responded with a status of 404 (Not Found) http://giorgatzelos.cwahi.net/www/us...mini_login.gif
Failed to load resource: the server responded with a status of 404 (Not Found) http://giorgatzelos.cwahi.net/www/us...i_register.gif
Failed to load resource: the server responded with a status of 404 (Not Found) http://giorgatzelos.cwahi.net/www/us...n_mini_faq.gif
Failed to load resource: the server responded with a status of 404 (Not Found) http://giorgatzelos.cwahi.net/www/us...ini_search.gif
Failed to load resource: the server responded with a status of 404 (Not Found) http://giorgatzelos.cwahi.net/www/us...forum_read.gif
Failed to load resource: the server responded with a status of 404 (Not Found) http://giorgatzelos.cwahi.net/www/us...pic_latest.gif
Failed to load resource: the server responded with a status of 404 (Not Found) http://giorgatzelos.cwahi.net/www/us...d_subforum.gif
Unknown RPC service: widget-interactive-I0_1369876782968 cb=gapi.loaded_0:115
Unknown RPC service: widget-interactive-I1_1369876782971 cb=gapi.loaded_0:115


i also get this error under serch cloud:

Quote:
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1006: Cannot modify header information - headers already sent by (output started at /www/users/g/i/o/giorgatzelos/blocks/shoutbox.php:157)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1006: Cannot modify header information - headers already sent by (output started at /www/users/g/i/o/giorgatzelos/blocks/shoutbox.php:157)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1006: Cannot modify header information - headers already sent by (output started at /www/users/g/i/o/giorgatzelos/blocks/shoutbox.php:157)

and all this when i turn forum sharing on!

Last edited by Giorgatzelos; 30th May 2013 at 03:26.
Reply With Quote
  #2  
Old 30th May 2013, 04:40
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
in functions_phpBB3.php find and remove
PHP Code:
if (preg_match("/phpBB\.php/",$_SERVER["PHP_SELF"]))define('IN_CRON'true); 
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
The Following User Says Thank You to joeroberts For This Useful Post:
Giorgatzelos (30th May 2013)
  #3  
Old 30th May 2013, 16:07
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 300
Default
some errors are fixed, but when you click on a thread it goes to forum, and not show the forum through pmbt and apart from that, after loging in it still takes you back before logging in...and some icons still don't show up...link to site here:

http://giorgatzelos.cwahi.net/

this error percist if i turn on forum sharing on...


Code:
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1006: Cannot modify header information - headers already sent by (output started at /www/users/g/i/o/giorgatzelos/blocks/shoutbox.php:157)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1006: Cannot modify header information - headers already sent by (output started at /www/users/g/i/o/giorgatzelos/blocks/shoutbox.php:157)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1006: Cannot modify header information - headers already sent by (output started at /www/users/g/i/o/giorgatzelos/blocks/shoutbox.php:157)

ans so is this after footer:

Code:
undefined method dbal_mysqli::sql_numrows() in /www/users/g/i/o/giorgatzelos/include/cleanup.php on line 44

Last edited by Giorgatzelos; 30th May 2013 at 16:25.
Reply With Quote
  #4  
Old 30th May 2013, 20:37
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
you did edit bot configs in data base right?
clear out your cache folders for both phpbb3 and pmbt
open phpBB3/includes/db/dbal.php and add
PHP Code:
        function sql_numrows($query_id 0)

        {

                if(!
$query_id)

                {

                        
$query_id $this->query_result;

                }

                if(
$query_id)

                {

                        
$result = @mysql_num_rows($query_id);

                        return 
$result;

                }

                else

                {

                        return 
false;

                }

        } 
before
PHP Code:
    /**
    * return on error or display error message
    */ 
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #5  
Old 31st May 2013, 02:10
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 300
Default
After doing what you said, the links and images of the threads are fixed...
but other icons disappeared as you can see with red arrows...in picture 1.
these icons where visible before i commended out this line you told me in functions_phpBB3.php:

Code:
//if (preg_match("/phpBB\.php/",$_SERVER["PHP_SELF"]))define('IN_CRON', true);




When i click on a thread it no longer shows the integrated forum with the tracker's theme inside the tracker but takes you to the actual forum as you can see in picture 2.



Quote:
you did edit bot configs in data base right?
How do i do that?I wish you had a guide for migrating an existing pmbt site...
Attached Thumbnails
1.png   2.png  
Reply With Quote
Reply

Tags
migration , pmbt , server , site , subdomain

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



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