1
asdfg
problem install "magazine"
  • 2005/9/10 15:11

  • asdfg

  • Just popping in

  • Posts: 41

  • Since: 2004/9/18


Fatal error: Cannot redeclare MagArticle::$approved in /hosting/domains/dejourney.com/ftp/www.dejourney.com/htdocs/modules/magazine/class/article.php on line 88

shown in module admin.... pls help. thanks!

2
menochi
Re: problem install "magazine"
  • 2005/9/10 16:00

  • menochi

  • Friend of XOOPS

  • Posts: 259

  • Since: 2003/12/28


HI

please read: this information in xoops.org

have fun with MAGAZINE, it´s realy a nice module.
in valid code we trust

3
asdfg
Re: problem install "magazine"
  • 2005/9/10 16:05

  • asdfg

  • Just popping in

  • Posts: 41

  • Since: 2004/9/18


"try to delete line 88
It's the same line 81"

is this the solution? by the way,how to calculate line 88? which is the first line?
sorry, i'm the beginner.

4
asdfg
Re: problem install "magazine"
  • 2005/9/10 16:39

  • asdfg

  • Just popping in

  • Posts: 41

  • Since: 2004/9/18


line 88: if ( is_array( $title_matches ) && count( $title_matches[1] ) > 0 )

line 81: //$article->setTitle( $title_matches[1][$page-1] . $article->title . " (" . _MAG_PART . " $page_num)" );

delete this?

5
asdfg
Re: problem install "magazine"
  • 2005/9/10 16:43

  • asdfg

  • Just popping in

  • Posts: 41

  • Since: 2004/9/18


sorry, my mistake.
just realize it's in class folder.
found it. thanks

6
asdfg
Re: problem install "magazine"
  • 2005/9/11 16:01

  • asdfg

  • Just popping in

  • Posts: 41

  • Since: 2004/9/18


I am using XOOPS 2.2.3 on php 5.0.4 environment.
I fixed the problem with Magazine installation (commented line 88 in class/article), but I still have php error messages related to the redeclaration of some variables and objects.
Most frequent error is "impossible to redeclare $this".
I reported this error type in others lines of class/article, class/category, admin/index, so, after Magazine installation, I have blank pages or php errors in almost all module admin pages.
What about this?

Login

Who's Online

236 user(s) are online (159 user(s) are browsing Support Forums)


Members: 0


Guests: 236


more...

Donat-O-Meter

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

Latest GitHub Commits