an error that wont go...?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Post a link to your script.. and change the filename to .phps so we can see the syntax coloring.
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

no need it seems to be ok, and everthing is ok
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

sorry got another error

Fatal error: Call to undefined function: generate_smilies() in /home/gaogier/public_html/forums/posting.php on line 965

the part of the code

Code: Select all

// Generate smilies listing for page output
generate_smilies('inline', PAGE_POSTING);
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

i have also posted this here http://www.phpbb.com/phpBB/viewtopic.php?t=315004 and nothing has comeout of this

i have also reuploaded the file and nothing changed
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

please help
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

it sounds like you have a mod installed, soooo we can't help much.
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

anyideas what i can do though? this is making my forums lose people
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

it seems to be the smilies

i took this code out and it now works fine but no smilies

Code: Select all

// Generate smilies listing for page output
generate_smilies('inline', PAGE_POSTING);
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

correctly placing that ending brace would probably help. You may need to include bbcode.php.. I have no idea. I don't know what mods you've installed, let alone how they would work... I could suggest a reinstall of phpbb back to bone stock and slowly modify it back to where you want it, making sure you fix this stuff locally before sending it to the server.
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

if it you know hwat mod it was, and you uninstalled it everything should be ok again?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

generally, but since you've futzed around in the code changing things manually.. you may run into a few issues uninstalling as well. That's why I think reinstallation of phpbb and adding back in the mods (using their mod installation system) would be a good idea.
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

i just replaced the files, and added the mods into them, it was only 3 of them, better than all
Post Reply