![]() |
Reloaded wiki from scratch, built it from an empty database, and confirmed everything was working fine before added this mod. Added this mod by adding the few lines in the localsettings.php, uploaded the include files, and I keep getting this same error. New host is on Centos 5.3, PHP 5.3.0, MySQL 5.1.137.
Hmm, I'm wondering if it's because the new site doesn't have an actual domain pointing to it yet, and is only being referred to by IP address. (http://xxx.xxx.xxx.xxx/wiki). Perhaps everything is set up OK and when I actually move the domain over things will start working on their own. I can always hope. :) |
No such luck. I moved over a domain so the wiki is being reference by an actual domain, and the error remains.
|
Quote:
php_flag magic_quotes_gpc off And then uploaded it to the WIKI root folder. But do I need to do anything else? There wasn't any other files named php.ini or php5.ini anywhere else on my server. I think this is the last hurdle for me. Thanks in advance to anyone that can help. |
Is your patch correct in Localsettings.php?
IE define( VB_SYSTEM_PATH, '' ); |
Yes, everything works with this mod except for the ability to edit pages (any of the wiki pages).
I've actually since discovered a work around, but I don't know how smart it is. I changed the edit token information in the user.php file from define( 'EDIT_TOKEN_SUFFIX', '+\\' ); TO define( 'EDIT_TOKEN_SUFFIX', '+#+' ); I found this work around by looking at someone elses problems with integrating SMF and MW (rather than vB and MW). They ran into some problems with apostrophes ( ' ) turning into \\ but I haven't had the problem thus far. Still, if I could get this working correctly I'd be happier I think. For ref, my forum is www.elantraxd.com/forums and my wiki is www.elantraxd.com/wiki |
Is there a way to disable the login screen when someone isn't logged in and simply display an error message on the wiki?
Right now if someone isn't logged in to vbulletin it displays the vbulletin login page. Instead of this, I want an error message brought up on the wiki saying something similar to "Please log in to the forum and refresh this page." In addition, how can I make sure that only people logged in can see information the wiki (right now it seems the case, but I want to make sure). This mod seems like the best option for integrating vB/Wikimedia. Thanks. |
When I try to use the MediaWiki/vBulletin Single Sign-On and try to edit the MediaWiki pages I get this error from MediaWiki and I get Apache errors for PHP. If I do not use the Single Sign-On edits to the MediaWiki page go through fine.
Sorry! We could not process your edit due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in. I CANNOT edit the mediawiki or save preferences with the Single Sign-On installed. I did the /includes/User.php edit but I still cannot EDIT! Open wiki/includes/User.php FIND: PHP Code: define( 'EDIT_TOKEN_SUFFIX', '+\\' ); Replace with: PHP Code: define( 'EDIT_TOKEN_SUFFIX', '+#+' ); Posted Solution on MediaWiki that does not work for me. Assuming you get this error even when you do have a seemingly valid logon session: Check if /var/lib/php5 is writable and not readable for user and world ( # chmod 733 /var/lib/php5 ) Check to see if your session.save_path value in php.ini is valid and writable to the webserver - PHP configuration. Check to see if there is enough disk space. After making changes restart Apache: /etc/init.d/httpd restart I get Apache errors for PHP: [Wed Aug 19 17:47:02 2009] [error] [client 10.15.15.41] PHP Notice: Use of undefined constant VB_SYSTEM_PATH - assumed 'VB_SYSTEM_PATH' in /var/www/html/wiki/LocalSettings.php on line 28, referer: http://www.website.com/wiki/index.ph...&action=submit [Wed Aug 19 17:47:02 2009] [error] [client 10.15.15.41] PHP Notice: Constant CWD already defined in /var/www/html/forum/global.php on line 16, referer: http://www.website.com/wiki/index.ph...&action=submit [Wed Aug 19 17:47:02 2009] [error] [client 10.15.15.41] PHP Notice: Use of undefined constant VB_SYSTEM_PATH - assumed 'VB_SYSTEM_PATH' in /var/www/html/wiki/LocalSettings.php on line 28, referer: http://www.website.com/wiki/index.ph...&action=submit [Wed Aug 19 17:47:02 2009] [error] [client 10.15.15.41] PHP Notice: Constant CWD already defined in /var/www/html/forum/global.php on line 16, referer: http://www.website.com/wiki/index.ph...&action=submit |
Quote:
Bruno |
How do you get rid of the PHP errors concerning the CWD error!?!?!?
[Wed Aug 19 17:47:02 2009] [error] [client 10.15.15.41] PHP Notice: Constant CWD already defined in /var/www/html/forum/global.php on line 16, referer: http://www.website.com/wiki/index.ph...&action=submit |
my forum http://forum.yapisal.net
My Wiki http://sozluk.yapisal.net how can i do my setting? i couldnt do it |
All times are GMT. The time now is 11:47 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|