DeveloperSide.NET Forums
December 11, 2019, 01:43:07 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Mediawiki wikipoll extension images problem  (Read 8316 times)
0 Members and 1 Guest are viewing this topic.
glennster
Member
*
Posts: 3


View Profile Email
« on: August 24, 2007, 12:54:49 PM »

I've added the wikipoll extension to mediawiki but cannot get the poll graph and button images to appear. The wikipoll instructions indicate that they should be placed in the wiki folder - so i've tried putting them in the webroot, www, and mediawiki folders but none of those work. Thanks in advance.
Logged
night2dark2
Jr. Member
**
Posts: 98


Yeah Dont really ask.

mfaiotto@msn.com
View Profile WWW
« Reply #1 on: August 25, 2007, 03:42:26 AM »

For the /wikipedia dir you go to /www/webapps/wiki and place it there and it will work :)
Logged

Revolution Gamers Host.
Master of all Gunz Server Hosting Needs.
Revolution Gamers International Gaming Commmunity
glennster
Member
*
Posts: 3


View Profile Email
« Reply #2 on: August 27, 2007, 04:52:54 PM »

My directory structure does not have a /www/webapps/wiki folder, but has the following:

/www/apache22
/www/mediawiki/extensions/poll
/webroot/

Thanks for any assistance.
Logged
glennster
Member
*
Posts: 3


View Profile Email
« Reply #3 on: August 29, 2007, 11:46:17 AM »

I debugged poll.php and found out that $wgScriptPath is ""

When poll.php attempted to access the images with the format src="'.$wgScriptPath.'/../ the result was that no images could be found because the folder being pointed to did not exist.

To make the images appear I had to change the portion of the poll.php function as follows:

src="'.$wgScriptPath.'/

and place the images in the folder c:\www\webroot.
Logged
night2dark2
Jr. Member
**
Posts: 98


Yeah Dont really ask.

mfaiotto@msn.com
View Profile WWW
« Reply #4 on: August 30, 2007, 09:46:24 PM »

ah you should have specified your WD Package version >_< I've had all packages already so I know
Logged

Revolution Gamers Host.
Master of all Gunz Server Hosting Needs.
Revolution Gamers International Gaming Commmunity
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!