Bazaar purchase crash

If you've downloaded the FAF sourcecode, and have question, please leave them here.
Post Reply
User avatar
Aurelius
Member
Posts: 11
Joined: Wed Apr 11, 2007 12:22 pm

Post by Aurelius »

Just recently I downloaded the source code to FAF and was so impressed by the developmental support for templates that I decided to experiment with my own version. As well as upgrading the GUI, I have integrated my forum login and registration system with that of FAF. For debugging purposes, I have left the original login and registration intact. I am running on a clean database and the config file has barely been modified.

The issue is that when a playe is in the bazaar, as soon as the page is manually refreshed or an item is bought, I get a php error about missing vars and the "avail" column resets to zero.

For nearly three straight days now I've been going through every page and file to find out why this error occurs. It's driving me insane. I have reverted back to all the default php includes and templates but it keeps giving me this error. I have even tried registering and logging in with the default account system. Because users cannot now purchase anything, it is almost impossible to field an army.

Though this may not be a vannila FAF bug, I suspect that perhaps one of you developers might be able to point me in the right direction. Any help would be appreciated!

Thanks,
Aurelius
User avatar
Slasher
The FAF Forums SMEGHEAD!!! lol
Posts: 2635
Joined: Mon May 03, 2004 5:08 pm
Location: http://florida4us.com/
Contact:

Post by Slasher »

Hi, could you post a link to your site so the admins can take a look at it please?
I do not have a signature, you must be imagining

http://florida4us.com/

Image
Turock
Forum Maniac
Posts: 289
Joined: Sat Jan 07, 2006 12:45 am
Contact:

Post by Turock »

You might need to make sure that you have the most recent source. I seem to remember that there were some issues with the markets at one time.
User avatar
Aurelius
Member
Posts: 11
Joined: Wed Apr 11, 2007 12:22 pm

Post by Aurelius »

I don't currently have the site on a server because the PC I'm doing most of my development on does not have an internet connection.

I don't believe it could be the source because the default version I used did not have this bug. The zip file I download was "faf-3.04.zip" from Sourceforge.

Something I've done has caused this error. I'll see if I can post a screenshot of the exact error later today or tomorrow. I think it was something like "error on funcs.php line 606, line 607". The odd thing is that I have not modified these lines or anything in that function.

If you'd like to see a particular snippet of the source, I'll upload it.
User avatar
Aurelius
Member
Posts: 11
Joined: Wed Apr 11, 2007 12:22 pm

Post by Aurelius »

I just tried it again this morning and now it works :D . I narrowed it down to a small javascript. I'm not sure why but the market messes up with the presence of the partcular script. I found this out when I converted it to PHP to spead up the page loading time. It might just be worth noting.
Post Reply
  • Members connected in real time

    🔒 Close the panel of connected members