● Found a bug in your Downloads module.

Fri May 15, 2015 6:39 am
NOOB!!!
28 Posts
Reputation: 196.5
Hello mate, i found a bug with PHP 5.4 in your Downloads Module,

OPEN: public_html/modules/Downloads/public/SubmitDownloads.php

find: [line 281]

PHP:  [ Select all ]

                $sub_ip identify::get_ip(); 

 
replace with:

PHP:  [ Select all ]

                $sub_ip $identify->get_ip(); 

 

save/close.
Fri May 15, 2015 6:42 am
Original Poster
NOOB!!!
28 Posts
Reputation: 196.5
you need also to add the $identify in your global i forgot it =P


 
Fri May 15, 2015 10:41 am
Clan Leader
Top Dog
Nuke Dev / Coder
2836 Posts
coRpSE
In-Game
Shatterline

Most Played:
This week: 44.5hrs.
Total Played: 222hrs.


  
Reputation: 7033.5
votes: 6
thanks for the heads up.


Expand
Sat May 16, 2015 6:38 am
Original Poster
NOOB!!!
28 Posts
Reputation: 196.5
no problem mate! i have a question on this module, is there a chance to have the jQuery and Image Viewer updates bt Lonestar working on it instead? Thanks lachen


 
Sat May 16, 2015 5:35 pm
Clan Leader
Top Dog
Nuke Dev / Coder
2836 Posts
coRpSE
In-Game
Shatterline

Most Played:
This week: 44.5hrs.
Total Played: 222hrs.


  
Reputation: 7033.5
votes: 6
I don't know what you mean? It uses the system that is found on your CMS, so if you do Lonestars jQuery and Image viewer updates, it will use that for when you update your site, you are replacing the old with the new.


 
Mon May 18, 2015 12:59 am
Original Poster
NOOB!!!
28 Posts
Reputation: 196.5
.. i don't know, they are different, the one in downloads has the black square..


 
Forums ©