1
fords8
Problem with Protector and osC Mods
  • 2007/3/17 3:09

  • fords8

  • Just popping in

  • Posts: 11

  • Since: 2007/3/16


I have protector installed and have installed this cart. Everytime I goto the admin and try to setup the cart I get this error:

Fatal error: Cannot redeclare protector_postcommon() (previously declared in /***/***/***/trusted file/modules/protector/include/postcheck.inc.php:10) in /***/***/***/trusted file/modules/protector/include/postcheck.inc.php on line 140

What the address bar in IE says:
http://***/***/***/modules/osC/admin/index.php

If I take out the 2 lines in the main.php file for protector it seems to work fine.

Thanks for any help you may have!

2
irmtfan
Re: Problem with Protector and osC Mods
  • 2007/3/17 4:12

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


what is your osC version a while ago i test a version and have not this problem.

3
fords8
Re: Problem with Protector and osC Mods
  • 2007/3/17 20:49

  • fords8

  • Just popping in

  • Posts: 11

  • Since: 2007/3/16


I think it is Ver. 0.62! My XOOPS is Ver. 2.0.16!

4
fords8
Re: Problem with Protector and osC Mods
  • 2007/3/19 0:07

  • fords8

  • Just popping in

  • Posts: 11

  • Since: 2007/3/16


Anyone have any suggestions? I need to get this working.

5
irmtfan
Re: Problem with Protector and osC Mods
  • 2007/3/19 6:04

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


could you try it with protector ver 3.01
http://xoops.peak.ne.jp/md/mydownloads/singlefile.php?lid=94&cid=1

6
fords8
Re: Problem with Protector and osC Mods
  • 2007/3/19 14:20

  • fords8

  • Just popping in

  • Posts: 11

  • Since: 2007/3/16


I am using 3.01.

EDIT: Line 140 in my postcheck.inc.php is only a } if that helps at all.

7
de_muis
Re: Problem with Protector and osC Mods
  • 2007/3/19 15:20

  • de_muis

  • Just popping in

  • Posts: 15

  • Since: 2004/11/8


I think it has something to do with a require. A function has allready been required.
I think you must find dat require and change it in:
require_once()
And see what hapens.
The_mouse

8
fords8
Re: Problem with Protector and osC Mods
  • 2007/3/19 15:27

  • fords8

  • Just popping in

  • Posts: 11

  • Since: 2007/3/16


Where would this require_once()be? In the postcheck.inc.php? Maybe in the mainfile.php?

9
de_muis
Re: Problem with Protector and osC Mods
  • 2007/3/19 22:06

  • de_muis

  • Just popping in

  • Posts: 15

  • Since: 2004/11/8


I think :
/***/***/***/trusted file/modules/protector/include/postcheck.inc.php on line 140

On line 140 you wil find a require. Change it in require_once.

Succes,
de_muis

10
fords8
Re: Problem with Protector and osC Mods
  • 2007/3/20 3:09

  • fords8

  • Just popping in

  • Posts: 11

  • Since: 2007/3/16


Only thing I see on line 140 is a } there. I added the require_once() in a few different ways, and most of the time I got a blank page. Not really sure if I am doing it right.

Login

Who's Online

225 user(s) are online (137 user(s) are browsing Support Forums)


Members: 0


Guests: 225


more...

Donat-O-Meter

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

Latest GitHub Commits