31
techdb
Re: @Trabis: Defacer
  • 2009/9/1 20:15

  • techdb

  • Just popping in

  • Posts: 23

  • Since: 2005/3/7 1


Trabis- I am a big fan of this module and glad you provided an update. I downloaded the rar file in this link.

I have been using your original beta on my site and it works great. XOOPS Version - XOOPS 2.3.3
PHP Version - 5.2.9
MySQL Version - 5.0.24a-standard-log
Server API Version - cgi-fcgi
OS Version - Linux

I tried to update by copying files and updating module.

I get an error:

Parse error: syntax error, unexpected ';' in /home/XXXX/XXXXX/modules/defacer/admin/admin_about.php on line 22

Also pages that use to work fine with Defacer Beta 1 give white screen when I update to Beta 2. Long story short...Looking at timers... Defacer Footer does not seem to be loading with updated code...

Header.php changes were already made for Beta 1. Pages that used to work with Beta 1 give blank screen with Beta 2. I fixed by reloading Beta 1 files...

Beta 2 Timers/Queries/Extras below:



TIMERS

XOOPS took 0.072 seconds to load.
XOOPS Boot took 0.042 seconds to load.
Module init took 0.030 seconds to load.
Defacer Header took 0.016 seconds to load.

EXTRAS

Defacer: INIT MODULE
Defacer: INIT CONFIG
Defacer: Getting config 'disable_defacer' : 0
Defacer: Getting config 'disable_permissions' : 0
Defacer: INIT permission HANDLER
Defacer: Getting handler 'permission'
Defacer: Getting config 'xoops_url' : http://www.XXXX
Defacer: INIT page HANDLER
Defacer: Getting handler 'page'
Defacer: Getting config 'disable_themes' : 0
Defacer: INIT theme HANDLER
Defacer: Getting handler 'theme'
Defacer: Getting config 'xoops_url' : http://www.XXXXX
Defacer: Getting handler 'page'
Included files: 48 files
Memory usage: 4542384 bytes

QUERIES

SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
SELECT sess_data, sess_ip FROM session WHERE sess_id = 've3jl0ua6blb34i1bpur6rqkn4'
SELECT * FROM users WHERE uid = '2'
SELECT * FROM modules WHERE dirname = 'wfdownloads'
SELECT * FROM config WHERE (conf_modid = '33') ORDER BY conf_order ASC
DELETE FROM protector_access WHERE expire < UNIX_TIMESTAMP()
SELECT COUNT(*) FROM protector_access WHERE ip='XXXXX' AND request_uri='/modules/wfdownloads/viewcat.php?cid=1'
SELECT COUNT(*) FROM protector_access WHERE ip='XXXXX'
INSERT INTO protector_access SET ip='XXXXXXX',request_uri='/modules/wfdownloads/viewcat.php?cid=1',expire=UNIX_TIMESTAMP()+'5'
SELECT * FROM modules WHERE dirname = 'defacer'
SELECT * FROM config WHERE (conf_modid = '145') ORDER BY conf_order ASC
SELECT * FROM `defacer_permission`
SELECT * FROM defacer_page, modules WHERE (page_status = '1' AND page_id IN (1)) AND (mid=page_moduleid)
SELECT * FROM `defacer_theme`
SELECT * FROM defacer_page, modules WHERE (page_status = '1') AND (mid=page_moduleid)

32
tzvook
Re: @Trabis: Defacer
  • 2009/9/1 20:32

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


I get White screens with 2.2.4, I thought it was a 2.2.x-only issue.

33
trabis
Re: @Trabis: Defacer
  • 2009/9/1 20:48

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


@tzvook,
Are you using php5?

This version is not supporting php4, sorry.

techdb, I'll see what I can do. Module is running on xuups.com with no problems :(

34
tzvook
Re: @Trabis: Defacer
  • 2009/9/1 20:59

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


Hi T
Yep - this 2.2.4 site is on php4 ...
10X

35
trabis
Re: @Trabis: Defacer
  • 2009/9/1 22:49

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Defacer 1.0 Release Candidate

I fixed those white page bugs(I guess).
This version comes with preloads so if you want to test it on XOOPS 2.4 beta 2(on SVN) you don't need to hack files.

Please test it.

36
techdb
Re: @Trabis: Defacer
  • 2009/9/2 2:44

  • techdb

  • Just popping in

  • Posts: 23

  • Since: 2005/3/7 1


Release Candidate clears up all the issues from my earlier post. So far everything working great including the theme switcher.

Will do a little more testing in near future.

Great module! Thanks so much.

37
techdb
Defacer Xoops 2.4.1 Undefined offset
  • 2009/11/15 15:35

  • techdb

  • Just popping in

  • Posts: 23

  • Since: 2005/3/7 1


I am running Defacer 1.0 and just upgraded to XOOPS 2.4.1 from 2.3.3.

Defacer seems to be doing what it is supposed to be doing however when I debug XOOPS I find these (among others) repeating errors:

Notice: Undefined offset: -1 in file /modules/defacer/include/beforeheader.php line 34

Notice: Undefined index: 41 in file /modules/defacer/include/beforeheader.php line 48

Notice: Undefined offset: -1 in file /modules/defacer/include/beforeheader.php line 34

Notice: Undefined offset: -1 in file /modules/defacer/include/beforeheader.php line 48

Notice: Undefined offset: -1 in file /modules/defacer/include/beforefooter.php line 35

Now Running XOOPS Version - XOOPS 2.4.1
PHP Version - 5.2.9

Any ideas?

38
trabis
Re: @Trabis: Defacer
  • 2009/11/15 18:37

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Is this the content of those lines?

in file /modules/defacer/include/beforeheader.php line 34
if (isset($objs[$pageid]) && is_object($objs[$pageid])) {


in file /modules/defacer/include/beforeheader.php line 48
if (isset($objs[$pageid]) && is_object($objs[$pageid])) {


in file /modules/defacer/include/beforefooter.php line 35 
if (isset($objs[$pageid]) && is_object($objs[$pageid])) {


If not, please upgrade defacer to 1.0 final:
http://code.google.com/p/xuups/downloads/list

39
techdb
Re: @Trabis: Defacer
  • 2009/11/16 21:01

  • techdb

  • Just popping in

  • Posts: 23

  • Since: 2005/3/7 1


Upgrade did the trick thanks.

40
rgauci
Re: @Trabis: Defacer
  • 2010/2/9 16:02

  • rgauci

  • Not too shy to talk

  • Posts: 173

  • Since: 2007/8/31


Trabis I am using wild card '*' to select my modules and it works perfectly on XOOPS 2.4.4

now I have a gallery module and I want to go directly to a particular category, so what is the Page url please?
I have tried like:

/modules/extgallery/public-album.php?id=4

and even

public-album.php?id=4

but did not work

Ray

Login

Who's Online

85 user(s) are online (45 user(s) are browsing Support Forums)


Members: 0


Guests: 85


more...

Donat-O-Meter

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

Latest GitHub Commits