FPHPFAQ TroubleShooting
From FreeBert Wiki
[edit] Trouble Shooting The freebert Free PHP SQL FAQ
If you are having a problem not already mentioned in any of the other articles for the freebert.com Free PHP SQL FAQ, post your message below, and together we can sort out any / all problems.
March 3rd, 2008:
I was trying out your script in hopes that it will be usefull for my class final (web design). We were to find a shopping cart script and design a moc website using it and having it working some how through a mysql database. On my localhost it works like a charm, but as soon as I upload all the files, with the right config in local settings, the script again, works like a charm, note the only thing I did though a database was pass the values of the title, price etc to the value of the forms. But when I try and 'check out', reguardless if I have the php edit for adding items, or your snipplits. it starts giving me:
Parse error: parse error, unexpected $ in /home/sen/www/portfolio/photo/inc/payment_mods/PAYPAL_Functions.php on line 110
If I remove the line
require_once('inc/payment_mods/PAYPAL_Functions.php');
from Chose/make payment it works fine once again, but adding that the pages disply the error posted. I'm unsure what the issue is, I have checked all settings and everything works fine if I remove that file from Chose/make payment.
Response:
I'm not sure what the problem is, assuming you have not edited the PayPal_Functions.php page, it is probably a problem with a missing required variable. Make sure that if you are not using them, you set variables in the LocalSettings file = "" - not delete them. IF you are not using PayPal as a payment option (set in the Local Settings file), then you can remove the require once statements for the PayPal_Functions.php and it should work fine (you have have to replace them if/when you decide to use PayPal as an option).
It also occurs to me that it might be a configuration of your PHP server - try removing the ?> at the end of the PayPal_Functions uploading? I HAVE seen some packages that for some reason omit the closing php tag on included files - perhaps some option / configuration of the PHP server may be to blame? Give it a try and let us know how it worked out for you on your server! Good luck.
Hi,
This is nooly, Check for php version and if its the latest then check the php code, change to <?php, should work fine!
Hello All,
9 July 2010.
Sorry if this is in the wrong place, but not sure where else to ask.
Can anyone explain what limits the numbering of the Title, SerialNumb and so on, which starts at 0 and increases as you add batch items, to a limit of 99,999 or five characters after the word.
Martin.
