problème php wordpress phpbb

problème php wordpress phpbb - PHP - Programmation

Marsh Posté le 07-12-2009 à 20:22:57    

Bonjour,
je vais faire les articles similaires du forum phpbb sur vbulletin, alors j'ai commencé par insérer le code suivant :

Code :
  1. <?php
  2. define('IN_PHPBB', TRUE);
  3. $phpbb_root_path = 'forum/';
  4. $phpEx = substr(strrchr(__FILE__, '.'), 1);
  5. include($phpbb_root_path . 'common.' . $phpEx);
  6. // Start session management
  7. $user->session_begin();
  8. $auth->acl($user->data);
  9. $user->setup('', $forum_data['forum_style']);
  10.  
  11. ?>

 
 
si je met ce code avant le : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transiti
Voici le code erreur que je reçois :
 

Code :
  1. Fatal error: Call to a member function sql_query() on a non-object in /home/web/mywebsite.com/ftp/www/forum/includes/cache.php on line 51


 
Et ci je place le code juste en dessus du code de similaires articles, tout fonctionne bien mais en dessus des similaires articles j'ai ce code d'erreur :
 

Code :
  1. [phpBB Debug] PHP Notice: in file /includes/session.php on line 1006: Cannot modify header information - headers already sent by (output started at /home/web/mywebsite.com/ftp/www/wp-content/plugins/all-in-one-seo-pack/aioseop.class.php:221)
  2. [phpBB Debug] PHP Notice: in file /includes/session.php on line 1006: Cannot modify header information - headers already sent by (output started at /home/web/mywebsite.com/ftp/www/wp-content/plugins/all-in-one-seo-pack/aioseop.class.php:221)
  3. [phpBB Debug] PHP Notice: in file /includes/session.php on line 1006: Cannot modify header information - headers already sent by (output started at /home/web/mywebsite.com/ftp/www/wp-content/plugins/all-in-one-seo-pack/aioseop.class.php:221)


Reply

Marsh Posté le 07-12-2009 à 20:22:57   

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed