Joomla! Discussion Forums



It is currently Wed Nov 25, 2009 7:27 pm (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Security Checklist
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 418 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 14  Next
Author Message
Posted: Mon Aug 21, 2006 6:07 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 8:55 pm
Posts: 12901
Location: Nijmegen, The Netherlands
arnold wrote:
[..] my com_puarcade (flash games component) doesn't work anymore.
In the past I tested com_puarcade on a server with Register Globals = OFF, and got a lot of errors.
This component needs Register Globals = On, or maybe you can hack the code. (Or inform the author, maybe he/she will improve the code).

_________________
Kind Regards,
Peter Martin, Global Moderator - Community & Leadership Team
www.db8.nl - Joomla specialist, Nijmegen, Nederland
Joomla 1.5 Quick Reference Guide: www.db8.nl/en/downloads/misc-downloads/ ... glish.html


Top
   
 
Posted: Mon Aug 21, 2006 7:07 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Aug 26, 2005 9:56 pm
Posts: 45
I am having the same problem with akoform and akocomment. 

I am also having a problem with joomlaboard even with this fix.  I can't go past the first page. 


Top
  E-mail  
 
Posted: Mon Aug 21, 2006 7:27 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Aug 18, 2005 8:53 am
Posts: 711
Location: Switzerland
sanni wrote:
I am having the same problem with akoform and akocomment. 

I am also having a problem with joomlaboard even with this fix.  I can't go past the first page. 


- Confirming akocomment problem. Might take a look in a few...

- Joomlaboard: past which first page of what ? pages of a thread works fine.

_________________
Beat 8)
www.joomlapolis.com <= Community Builder + CBSubs Joomla membership payment system - team
hosting.joomlapolis.com <= Joomla! Hosting, by the CB Team


Top
  E-mail  
 
Posted: Mon Aug 21, 2006 7:29 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 7:13 am
Posts: 13255
Might be handy to have a list of components that work/doesn't work with this setting.

_________________
Antonie de Wilde - Forum admin
All Joomla! release dates and days between releases: http://jfoobar.org/blog/189-days-betwee ... a-releases.test


Top
   
 
Posted: Mon Aug 21, 2006 7:35 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Aug 26, 2005 9:56 pm
Posts: 45
Beat wrote:

- Joomlaboard: past which first page of what ? pages of a thread works fine.



I can't get past the first page of the forum.  At the top where it says 1 2 3 4 5 .  It simply stays on 1.  Everything else works fine though that i've checked. 

This was also a problem without the fix with register global off. 


Top
  E-mail  
 
Posted: Mon Aug 21, 2006 8:43 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Jan 26, 2006 11:36 pm
Posts: 71
Location: Los Angeles, California, United States
Tonie wrote:
Might be handy to have a list of components that work/doesn't work with this setting.

And we'll just have Beat be the "go to" fixer upper guy, LOL

Seriously though, we love your work Beat :)

You're the best man, and one of the very few knowledgable enough crank out these great hot fixes so quickly!

_________________
-Tyler D.
Web Developer & Integrator: http://www.LasVegasExtremes.com


Last edited by tyler on Mon Aug 21, 2006 8:51 pm, edited 1 time in total.

Top
  E-mail  
 
Posted: Mon Aug 21, 2006 9:56 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Aug 21, 2006 4:56 pm
Posts: 5
pe7er wrote:
arnold wrote:
[..] my com_puarcade (flash games component) doesn't work anymore.
In the past I tested com_puarcade on a server with Register Globals = OFF, and got a lot of errors.
This component needs Register Globals = On, or maybe you can hack the code. (Or inform the author, maybe he/she will improve the code).


i can't hack the code :(  my php is not that good .... i have mailed the author and i hope he contacts me.

Regards Arnold


Top
  E-mail  
 
Posted: Tue Aug 22, 2006 7:37 am 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Tue Aug 23, 2005 7:34 am
Posts: 66
Location: Brisbane, Australia
Beats fix worked for my Joomlaboard but the discussbot is dead. It doesn't pick up the subject field and doesn't present an input field either. No subject = no post.


Top
   
 
Posted: Tue Aug 22, 2006 7:58 am 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Jan 26, 2006 11:36 pm
Posts: 71
Location: Los Angeles, California, United States
discussbot works fine for me w/RG emulation off (using Beat's fix).

_________________
-Tyler D.
Web Developer & Integrator: http://www.LasVegasExtremes.com


Top
  E-mail  
 
Posted: Tue Aug 22, 2006 3:16 pm 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Fri Jun 30, 2006 5:24 pm
Posts: 1168
Location: CZ
Component MyLinks http://extensions.joomla.org/component/ ... Itemid,35/ works with register globals off and doesn't work with RG_Emulation set to 0.

I'm posting a message to the developer too.

_________________
MarHaj


Top
   
 
Posted: Tue Aug 22, 2006 3:58 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11690
Location: **Translation Matters**
MarHaj wrote:
Component MyLinks http://extensions.joomla.org/component/ ... Itemid,35/ works with register globals off and doesn't work with RG_Emulation set to 0.

I'm posting a message to the developer too.


That means it needs globals ON, right?

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Tue Aug 22, 2006 6:13 pm 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Fri Jun 30, 2006 5:24 pm
Posts: 1168
Location: CZ
Not exaclly.
MyLinks component:
register globals off AND RG_Emulation 1 = O.K.
register globals off AND RG_Emulation 0 = Not O.K.

_________________
MarHaj


Top
   
 
Posted: Tue Aug 22, 2006 11:24 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Fri Sep 16, 2005 8:41 pm
Posts: 3652
Location: NRW - Germany
that exactly means, that it needs globals = on to work. RG_Emulation = 1 is more or less equal to register_globals = On

_________________
god doesn't play dice with the universe. not after that drunken night with the devil where he lost classical mechanics in a game of craps.

Since the creation of the Internet, the Earth's rotation has been fueled, primarily, by the collective spinning of English teachers in their graves.


Top
   
 
Posted: Wed Aug 23, 2006 1:42 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Aug 18, 2005 8:53 am
Posts: 711
Location: Switzerland
sanni wrote:
Beat wrote:

- Joomlaboard: past which first page of what ? pages of a thread works fine.



I can't get past the first page of the forum.  At the top where it says 1 2 3 4 5 .  It simply stays on 1.  Everything else works fine though that i've checked.   

This was also a problem without the fix with register global off. 


Ok thanks, fixed in my post above and on http://www.joomlapolis.com/ :
http://forum.joomla.org/index.php/topic ... #msg441456

as follows:

Quote:
EDIT: added above for threads page browsing and correct latest posts timeframe selection:
Code:
if (isset($_GET["page"])) $page  = mosGetParam ( $_GET, 'page' , '' );   //BBTEMPFIX
if (isset($_GET["sel"])) $sel  = mosGetParam ( $_GET, 'sel' , '' );   //BBTEMPFIX


Hope will get to the other stuff soon.

_________________
Beat 8)
www.joomlapolis.com <= Community Builder + CBSubs Joomla membership payment system - team
hosting.joomlapolis.com <= Joomla! Hosting, by the CB Team


Top
  E-mail  
 
Posted: Wed Aug 23, 2006 2:21 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Aug 26, 2005 9:56 pm
Posts: 45
Quote:
EDIT: added above for threads page browsing and correct latest posts timeframe selection:
Code:
if (isset($_GET["page"])) $page  = mosGetParam ( $_GET, 'page' , '' );   //BBTEMPFIX
if (isset($_GET["sel"])) $sel  = mosGetParam ( $_GET, 'sel' , '' );   //BBTEMPFIX


Thanks Beat it works beautifully


Top
  E-mail  
 
Posted: Wed Aug 23, 2006 8:32 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Jun 02, 2006 9:59 am
Posts: 10
One wish it would be very helpfull, if there would be a list in first post.
listing Components which need global emulation on and link to fix, like the 3rd party list.

Would do it myself, but i am not the thread starter, so please...  :-*


Top
  E-mail  
 
Posted: Wed Aug 23, 2006 8:37 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11690
Location: **Translation Matters**
:) I guess you are welcome to start a new thread with that list.  ;)

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Wed Aug 23, 2006 10:07 am 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Fri Sep 16, 2005 8:41 pm
Posts: 3652
Location: NRW - Germany
BTW: In the backend, the switching with users does not work correctly. if you look in the admin.joomlaboard.php, you see an area, where the variable cid is retrieved with mosgetparam. this has to be repeated for the variable uid to work.

_________________
god doesn't play dice with the universe. not after that drunken night with the devil where he lost classical mechanics in a game of craps.

Since the creation of the Internet, the Earth's rotation has been fueled, primarily, by the collective spinning of English teachers in their graves.


Top
   
 
Posted: Wed Aug 23, 2006 12:05 pm 
User avatar
Joomla! Hero
Joomla! Hero
Offline

Joined: Fri Aug 19, 2005 2:23 pm
Posts: 2158
Location: The Netherlands
I started a list in the first post. Please let me know if there are any additions.

_________________
Adam van Dongen - Developer

- Blocklist, ODT Indexer, EasyFAQ, Easy Guestbook, Easy Gallery, YaNC & Redirect -
http://www.joomla-addons.org - http://www.bandhosting.nl


Top
  E-mail  
 
Posted: Wed Aug 23, 2006 1:17 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Fri Sep 16, 2005 8:41 pm
Posts: 3652
Location: NRW - Germany
Ok, to elaborate on my previous post:
Replace this in /administrator/components/com_joomlaboard/admin.joomlaboard.php from line 166:
Code:
$cid = mosGetParam( $_POST, 'cid', array(0) );
if (!is_array( $cid )) {
   $cid = array(0);
}

with this:
Code:
$cid = mosGetParam( $_POST, 'cid', array(0) );
if (!is_array( $cid )) {
   $cid = array(0);
}
$uid = mosGetParam( $_REQUEST, 'uid', array(0) );
if (!is_array( $uid )) {
   $uid = array(0);

I have to admit, that I'm not 100% sure, if uid is supposed to be an array, but after changing this, the view of the user details in the backend worked again.

_________________
god doesn't play dice with the universe. not after that drunken night with the devil where he lost classical mechanics in a game of craps.

Since the creation of the Internet, the Earth's rotation has been fueled, primarily, by the collective spinning of English teachers in their graves.


Top
   
 
Posted: Thu Aug 24, 2006 10:57 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Mar 30, 2006 10:55 am
Posts: 44
Websmurf wrote:
I started a list in the first post. Please let me know if there are any additions.


Ako Forms is missing from the list


Top
  E-mail  
 
Posted: Thu Aug 24, 2006 12:49 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Apr 04, 2006 8:53 am
Posts: 18
I think, you mean Artforms. It does not work with global off. :-(


Top
  E-mail  
 
Posted: Thu Aug 24, 2006 12:53 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Aug 26, 2005 9:56 pm
Posts: 45
tomww wrote:

I think, you mean Artforms. It does not work with global off. :-(


Neither does akoforms


Top
  E-mail  
 
Posted: Thu Aug 24, 2006 12:55 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Aug 18, 2005 8:53 am
Posts: 711
Location: Switzerland
tomww wrote:

I think, you mean Artforms. It does not work with global off. :-(


Does ArtForms work or not with RG_EMULATION OFF ?

I will look at ArtForms, as soon as done with Joomla and CB, and will take the project further.

_________________
Beat 8)
www.joomlapolis.com <= Community Builder + CBSubs Joomla membership payment system - team
hosting.joomlapolis.com <= Joomla! Hosting, by the CB Team


Top
  E-mail  
 
Posted: Thu Aug 24, 2006 1:05 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Apr 04, 2006 8:53 am
Posts: 18
Beat wrote:

Does ArtForms work or not with RG_EMULATION OFF ?

I will look at ArtForms, as soon as done with Joomla and CB, and will take the project further.



on my testsystem with reg_emulation off, it does not work. no forms are displayed.


Top
  E-mail  
 
Posted: Thu Aug 24, 2006 1:07 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 7:13 am
Posts: 13255
Is Artforms still being developed, thought I heard/read somewhere that development has stopped.

_________________
Antonie de Wilde - Forum admin
All Joomla! release dates and days between releases: http://jfoobar.org/blog/189-days-betwee ... a-releases.test


Top
   
 
Posted: Thu Aug 24, 2006 1:23 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Aug 18, 2005 8:53 am
Posts: 711
Location: Switzerland
Tonie wrote:
Is Artforms still being developed, thought I heard/read somewhere that development has stopped.



Development was stopped by his author. But in agreement with auther, we decided that I will take devlopment further of this nice simple component and of a few others. I already created project on forge. Just need the time to get to it. Right now Joomla and CB manage to eat my free time. But the RG_EMULATION OFF compatibility fix will trigger a first new release on forge ;)

_________________
Beat 8)
www.joomlapolis.com <= Community Builder + CBSubs Joomla membership payment system - team
hosting.joomlapolis.com <= Joomla! Hosting, by the CB Team


Top
  E-mail  
 
Posted: Thu Aug 24, 2006 1:59 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Mar 30, 2006 10:55 am
Posts: 44
tomww wrote:
I think, you mean Artforms. It does not work with global off. :-(


No, I mean AkoForms http://www.konze.de/products/akoforms.html
I have send Arthur a note last week but there is no reply back yet.


Top
  E-mail  
 
Posted: Thu Aug 24, 2006 2:37 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Sun Oct 02, 2005 12:50 am
Posts: 12374
Location: Omaha, NE
Looks like the chron capability of feedgator quits working with register global emulation off.

Dave

_________________
Regards, Dave Global Moderator
Your question has likely already been answered - Search the forums & the documentation wiki first - and only then post your question!
http://www.kiwaniswest.org
http://www.faysgifts.com


Top
  E-mail  
 
Posted: Thu Aug 24, 2006 6:46 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Aug 18, 2005 8:53 am
Posts: 711
Location: Switzerland
MarHaj wrote:
I do confirm there is problem with AkoComent. :'(
I am running the tweaked version of it and cannot post comments with RG emulation on. Tested several times.


Ok. Here akoComment version "(2.0) 1.1.3" temporary fix, as just working now with postings fine on http://www.joomlapolis.com/ :

Edit components/com_akocomment.php and replace:

Code:
# Don't allow direct linking
  defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );


by:

Code:
# Don't allow direct linking
  defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

  //BBTEMPFIX:
  $acitemid = (int) mosGetParam( $_POST, "acitemid" );
  $contentid = (int) mosGetParam( $_POST, "contentid" );
  $title = mosGetParam( $_POST, "title" );
  $comment = mosGetParam( $_POST, "comment" );
  $acname = mosGetParam( $_POST, "acname" );
  # Added following one extra line to make the security images solution by DPaulus to work - Reind Dooyeweerd 
  $akocode = mosGetParam( $_POST, "akocode" );
  //end of BBTEMPFIX


UPDATE: added security images in fix above as confirmed to work ok.

For Backend lists to work:

Edit file administrator/components/admin.akocomment.php as follows:

Add just BEFORE the line 14 starting with "switch..." :

Code:
//BBTEMPFIX
$task = mosGetParam( $_REQUEST, 'task', null );
$cid = mosGetParam( $_REQUEST, 'cid', array( 0 ) );
$uid = mosGetParam( $_REQUEST, 'uid', array( 0 ) );
if (!is_array( $cid )) {
   $ocid=$cid;
   $cid = array ();
   $cid[]=$ocid;
   mosArrayToInts($cid);
}
//END OF BBTEMPFIX


EDIT: Added backend fix.
EDIT: Added filenames to edit and clarified instructions.
EDIT: Added  $akocode = mosGetParam( $_POST, "akocode" ); to make Security Images work, as suggested and confirmed here: http://forum.joomla.org/index.php/topic ... #msg461862

_________________
Beat 8)
www.joomlapolis.com <= Community Builder + CBSubs Joomla membership payment system - team
hosting.joomlapolis.com <= Joomla! Hosting, by the CB Team


Last edited by Beat on Fri Sep 01, 2006 10:38 pm, edited 1 time in total.

Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 418 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 14  Next

Quick reply

 



Who is online

Users browsing this forum: No registered users and 24 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group