Pokerform not showing up on my website

For discussion of the Poker Mavens server module and other administration topics

Pokerform not showing up on my website

Postby MatiasMunk » Mon Aug 27, 2018 5:25 am

Hey I'm creating a website where you can play poker using PokerMavens software.
But I'm having this issue where I'm trying to put a frame of the PM Server on the website to show the pokerform.
The code is as follows in index.php:
Code: Select all
echo"<div id='top'><iframe class='pokerframe' src='$src'></iframe></div>";


and this is further up in my index.php
Code: Select all
$player = $_SESSION['username'];
    $key = $api -> SessionKey;
    $src = $server . "/?SitePassword=CocaColaClassic" . "&amp;LoginName=" . $player . "&amp;SessionKey=" . $key;


Yet the PM Server Software's Pokerform is not showing up, what's wrong?
MatiasMunk
 
Posts: 3
Joined: Mon Aug 27, 2018 5:17 am

Re: Pokerform not showing up on my website

Postby Kent Briggs » Mon Aug 27, 2018 9:56 am

I'd suggest temporarily logging all your variables to a file after each line so you can see if they contain what you think they contain at that point in the code. Also see the SessionKey2.php example posted here:

http://www.briggsoft.com/docs/pmavens/API_Examples.htm#auto_login
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3931
Joined: Wed Mar 19, 2008 8:47 pm

Re: Pokerform not showing up on my website

Postby MatiasMunk » Mon Aug 27, 2018 1:59 pm

That's what it looks like but it doesn't show the poker client:/
MatiasMunk
 
Posts: 3
Joined: Mon Aug 27, 2018 5:17 am

Re: Pokerform not showing up on my website

Postby Kent Briggs » Mon Aug 27, 2018 4:15 pm

MatiasMunk wrote:That's what it looks like but it doesn't show the poker client:/


Did you check the value of every variable? You didn't show enough code for anyone to be able to help you.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3931
Joined: Wed Mar 19, 2008 8:47 pm

Re: Pokerform not showing up on my website

Postby Kent Briggs » Mon Aug 27, 2018 4:18 pm

Also, did you check the rendered code that your browser produces? Press Ctrl-U to see the final HTML produced and see what that shows.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3931
Joined: Wed Mar 19, 2008 8:47 pm

Re: Pokerform not showing up on my website

Postby MatiasMunk » Tue Aug 28, 2018 3:56 am

I'll check up on that when I come back home, I work in the military so will be a few days ^^
MatiasMunk
 
Posts: 3
Joined: Mon Aug 27, 2018 5:17 am


Return to Site Administration

Who is online

Users browsing this forum: No registered users and 2 guests

cron