Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   BT.Manager (phpMyBitTorrent) (http://www.bvlist.com/forumdisplay.php?f=23)
-   -   Pmbt Site migration to other server and (sub)domain... (http://www.bvlist.com/showthread.php?t=9204)

Giorgatzelos 30th May 2013 03:09

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!

joeroberts 30th May 2013 04:40

in functions_phpBB3.php find and remove
PHP Code:

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


Giorgatzelos 30th May 2013 16:07

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

joeroberts 30th May 2013 20:37

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
    */ 


Giorgatzelos 31st May 2013 02:10

2 Attachment(s)
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...


All times are GMT +2. The time now is 00:15.

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