Welcome, Guest

Whitescreen on submit - please analyze my code.
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Whitescreen on submit - please analyze my code.

Whitescreen on submit - please analyze my code. 2 years, 4 months ago #11099

Could anybody analyze my code and direct me to the issue?
I know white sceen means that i have something wrong in my php code but cannot really figure it out.

Code :

$points = JRequest::getVar('ff_nm_points',array(''));
$i = JRequest::getVar('ff_nm_category',array(''));
switch ($i[0]) {
case 1: //Tradedoubler
$adid = JRequest::getVar('ff_nm_adid',array(''));
$ginteger = JRequest::getVar('ff_nm_ginteger',array(''));
$urllink = "clk.tradedoubler.com/click?p=". $adid[0] ."&a=1111111&g=". $ginteger[0];
break;
case 2: //EuroAds
$cpid = JRequest::getVar('ff_nm_CPID',array(''));
$adid = JRequest::getVar('ff_nm_adid',array(''));
$submedia = JRequest::getVar('ff_nm_submedia',array(''));
$urllink = "tracking.euroads.se/system/tracking.php?sid=2&cpid=". $cpid[0] ."&adid=". $adid[0] ."&acid=1550&eatrackid=". $submedia[0];
break;
case 3: //Double.net
echo "i equals 2";
break;
case 4: //Affiliator
echo "i equals 2";
break;
case 5: //Agentinteractive
echo "i equals 2";
break;
case 6: //Zanox
echo "i equals 2";
break;
case 7: //Guavamedia
echo "i equals 2";
break;
case 8: //Webgains
echo "i equals 2";
break;
case 9: //Commission Junction
echo "i equals 2";
break;
}
$value = $value. "{source} $user =& JFactory::getUser();
echo \"<p><B>make " . $points[0] . " points </BR><BR><A HREF=\"". $urllink ."&pni=".$user->get( 'id' )."\">
<img src=\"images/stories/submit.png\" border=\"0\" /></p><BR>
</A> \" {/source}";


Kind regards and a massive thanks to all that reads and analyzes,
Joel
  • johaswe
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0

Re: Whitescreen on submit - please analyze my code. 2 years, 2 months ago #12863

Hi all,

One of our users just found a potential solution to this issue:

"The RokCandy macro component messes up other components unless you go into the Component>RokCandy settings and turn off all of the "Basic" macros (there are about 6 of them). You can leave all the special template overrides active as they only apply to the RT templates and don't muck with anything else. Once I did this, I was able to see my forms without any problem."

Thanks, Kelly, for sharing your solution! Hope this helps some of the rest of you!

Terry
BreezingForms Customer Care
  • terrywmu
  • OFFLINE
  • Administrator
  • Posts: 510
  • Karma: 8
  • Page:
  • 1
Moderators: TheMuffinMan, ForumSupport
Time to create page: 0.40 seconds

Facebook Discount - 40% Off!

Fans of our Facebook page here are entitled to get a 1-year-subscription for the price of a 6-months!

Steps to take:

  • Become a fan on Facebook (Like) here
  • Purchase a 6-months-subscription from here
  • Write a quick email to This email address is being protected from spambots. You need JavaScript enabled to view it. with your username and prove of your like and we'll upgrade to the 1-year-subscription

Joomla!® Forms Discount - 40% Off!

Already purchased a forms extension from a different vendor but your requirements changed and now you need a forms extension that is capable of more than just the standards? We help you to keep the costs for a change under control: Get a 40% discount on our professional membership plan! -- meaning timely unlimited access to all current and future commercial extensions, breezingforms themes & apps and Joomla!® templates at crosstec.de, including 1 year of support -- without any website limitations -- Just prove that you previously purchased another forms extension for Joomla!® from a different vendor and you are qualified.

Steps to take:

  • Purchase a 1-year-subscription from here
  • Write a quick email to This email address is being protected from spambots. You need JavaScript enabled to view it. with your username and prove of the purchase for the other form vendor and we'll upgrade to the professional-subscription

About

Crosstec GmbH & Co. KG

Bergisch-Gladbacher-Str. 829

51069 Cologne, Germany

Imprint