1
Evincar
Uploading news on my new website gets redirected to www.cpan.org
  • 2005/1/3 1:02

  • Evincar

  • Just popping in

  • Posts: 2

  • Since: 2005/1/2 2


I am using easyphp on my winxp machine. And the XOOPS website runs fine. But whenever i try to submit news, whenever i click preview or submit, i get send to the website www.cpan.org I think it is trying to tell me it's missing some module. But i can't figure out which one. Any help would be great. Thanks

2
Tombraider
Re: Uploading news on my new website gets redirected to www.cpan.org
  • 2005/3/6 10:27

  • Tombraider

  • Just popping in

  • Posts: 2

  • Since: 2005/3/6 1


Fix:

Edit storyform.inc.php

Line 29:
$sform = new XoopsThemeForm(_NW_SUBMITNEWS, "storyform", xoops_getenv('PHP_SELF'));

Change to:
$sform = new XoopsThemeForm(_NW_SUBMITNEWS, "storyform", xoops_getenv('$PHP_SELF'));

** Note the $ in front of PHP_SELF!!

Login

Who's Online

178 user(s) are online (55 user(s) are browsing Support Forums)


Members: 0


Guests: 178


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits