Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author loushou

    (@loushou)

    Hey @mshabooboo,

    Thanks for using OpenTickets, and thanks for saying you love it :). For this issue, we have seen similar problems a few times. Many times these are related to some PHP or server setting that is blocking internal loopback requests. Some times, another thing that could be causing it could be some type of permission error getting thrown in the qr generation script. There have also been hostname related problems. Here are a couple things to try to start:

    – the easiest thing to test is to try and visit the url for the qr code image itself. if you get PHP errors or some server error, that should get you started to tracking down the problem, which may need to be forwarded to me. if you dont get any specific errors, then..

    – check that your server knows that your domain can be found on the server. if it doesnt, this could prevent the internal loopback requests. to check it, goto a command prompt on the server, and type ‘nslookup <domain-name>’ where <domain-name> is your site’s domain name. if you do not get results, or the results do not have an ‘Address:’ line, or if that address line is not the correct IP, then you may need to add an entry to your /etc/hosts file pointing the domain to the correct IP. (sounds complicated, so if you need help, I can give specifics)

    – if that does not work, try completely uninstalling OpenTickets Community Edition, then reinstalling it from scratch. you may have some missing files somehow, and this would clear that up.

    If none of those solve it, we may need to do some more in depth research, which usually involves me doing some hands on work with your site (preferably a staging environment, not your live site), if that is something your are comfortable with. Let me know if we need to go that route and we will hookup to get that accomplished outside of this public forum.

    Loushou

    Thread Starter mshabooboo

    (@mshabooboo)

    Awesome, thanks for the suggestions. The server loopback will probably take me a few days, as the server isn’t directly under my control. For the QR code test – I opened up a recent test ticket and went to “view source”:

    <span class="label">Area:</span>
    		<span class="value">The Brink Lounge</span>
    	</li>
    </ul>
    						</td>
    
    						<td width="125" rowspan="2" class="qr-code right">
    
    							<img src="https://themamas.org/wp-content/plugins/opentickets-community-edition/libs/phpqrcode/index.php?d=fSIwN2UzMGEzY2MxNjRkODMzMWRiN2UyZjFiZGVmMzFjZWEyZTllZTUzIjoiZ2lzIiwiZ3JvLnNhbWFtZWh0L1wvXDpwdHRoIjoicCIsIl9RRE4zc1RNNHNETnljakx6QXpPeUFUTTJBaVJwNVdZc2wyYzBCQ1VoSkhkNUJpVkpCRklVbDJZclZHZGdnQ1B6QlhZdUJ5WXNGMmN6MWpJaDEyYjE1R2RpNGpKak1qTjdNRE11QURNODh5Y3dGbWIta2lPd2tUWjBVallpWkRNbWx6TjJVRE5tVldPM1lXTmpGelkyUWpNMk1qWWpSbU94dzNOeElUWm1OalowY1RPNEVtTXlBVE00Y0RNeUlEWjRJVE0wWVdNMk1HTTVrek1tQkRaaEJ6TT10ZWtjYXAtbmlrY2VoYy10b3NxJjE9bmlrY2VoYy10bmV2ZS10b3NxP2dyby5zYW1hbWVodC9cL1w6cHR0aCI6ImQiew__" alt="2016 Finalist Party VIP Ticket (30)" />
    							<div class="personalization right">
    
    								<ul>
    
    	<li>Frank Fakename</li>
    
    	<li>2016 Finalist Party VIP Ticket</li>

    I’m assuming that:

    https://themamas.org/wp-content/plugins/opentickets-community-edition/libs/phpqrcode/index.php?d=fSIwN2UzMGEzY2MxNjRkODMzMWRiN2UyZjFiZGVmMzFjZWEyZTllZTUzIjoiZ2lzIiwiZ3JvLnNhbWFtZWh0L1wvXDpwdHRoIjoicCIsIl9RRE4zc1RNNHNETnljakx6QXpPeUFUTTJBaVJwNVdZc2wyYzBCQ1VoSkhkNUJpVkpCRklVbDJZclZHZGdnQ1B6QlhZdUJ5WXNGMmN6MWpJaDEyYjE1R2RpNGpKak1qTjdNRE11QURNODh5Y3dGbWIta2lPd2tUWjBVallpWkRNbWx6TjJVRE5tVldPM1lXTmpGelkyUWpNMk1qWWpSbU94dzNOeElUWm1OalowY1RPNEVtTXlBVE00Y0RNeUlEWjRJVE0wWVdNMk1HTTVrek1tQkRaaEJ6TT10ZWtjYXAtbmlrY2VoYy10b3NxJjE9bmlrY2VoYy10bmV2ZS10b3NxP2dyby5zYW1hbWVodC9cL1w6cHR0aCI6ImQiew__

    Is the address of the QR code. When I go to that link, however, it says “page not found”.

    Is this the correct way to test this?

    Plugin Author loushou

    (@loushou)

    Hey @mshabooboo,

    Somehow I missed this comment. In any event, if you are going directly to the qrcode source url, and you get a page not found, that is definitely your problem. You should check a couple things:

    – check to make sure that any security plugin you are running (like iThemes) is NOT blocking long urls

    – make sure that the index.php file actually exists (could have gotten deleted on accident). if the /plugins/opentickets-community-edition/libs/phpqrcode/index.php file does not exist, try uninstalling the plugin and reinstalling it, to restore the file.

    – make sure your server is setup to accept normal length urls. you may have to get in contact with your host about this, because some hosts, for some reason, try to enact a ‘security policy’ that restricts the length of urls to abnormally short.

    If none of these solve the problem, we may need to take a closer look. We will cross that bridge when we come to it.

    Loushou

    Thread Starter mshabooboo

    (@mshabooboo)

    SOLVED! One of the permissions of the folders in the plugin directory was wrong. Changed it, and now I can see QR codes. Thanks!!

    Plugin Author loushou

    (@loushou)

    Hey @mshabooboo,

    Glad you figured it out. If you feel up to it, for posterity, and the benefit of others in the community, can you share the exact permission changes you made to get it working? Remember to not include your absolute file paths, but only relative paths. That should be more than enough to get everyone rolling. Also, it may help me trackdown and resolve the problem without the need of permission changes in a future version. If you are not up to it, no problem just the same.

    Thanks,
    Loushou

    Thread Starter mshabooboo

    (@mshabooboo)

    Just heard back from my web guy – “It was the wp-content/plugins/ folder, and I removed write permission from – group and other”

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘QR Codes appear on PDF, not on webpage’ is closed to new replies.