Welcome to Geeklog, Anonymous Saturday, November 23 2024 @ 05:29 am EST
Geeklog Forums
Forum error on new post
Status: offline
Chaos Creator
Forum User
Junior
Registered: 02/10/08
Posts: 24
Location:Asheville, NC
I get the following error when I try to post a new topic in the forum, followed by all kinds of arrays:
It points to this line:
{
require_once( 'PHP/Compat.php' );
PHP_Compat::loadFunction( 'str_ireplace' );
}
Does this mean my host doesn't provide this Compat.php file or that I'm missing a file? Is there a workaround?
An error has occurred:
2 - main(PHP/Compat.php): failed to open stream: No such file or directory @ /home/www/therealmsbeyond.com/forum/include/gf_showtopic.php line 52
2 - main(PHP/Compat.php): failed to open stream: No such file or directory @ /home/www/therealmsbeyond.com/forum/include/gf_showtopic.php line 52
It points to this line:
Text Formatted Code
if( !function_exists( 'str_ireplace' )){
require_once( 'PHP/Compat.php' );
PHP_Compat::loadFunction( 'str_ireplace' );
}
Does this mean my host doesn't provide this Compat.php file or that I'm missing a file? Is there a workaround?
9
7
Quote
Status: offline
Blaine
Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
The str_ireplace function was added for PHP5 and if your are running an earlier version of PHP, then you need the PEAR compat package installed.
Geeklog components by PortalParts -- www.portalparts.com
Geeklog components by PortalParts -- www.portalparts.com
7
8
Quote
Chaos Creator
Anonymous
Is PHP5 required to run forum plugin? I'll have to look at my host's PHP settings...
11
7
Quote
Chaos Creator
Anonymous
Got ya. Okay. I got the issue resolved, so everything's great. Thanks.
I have another question, though.
I was originally trying to use SMTP to send mail out of my site. I got all the relevant information from my host and set it up in the config.php file. But for some reason it wouldn't send.
I switched to sendmail, and it works fine. The only problem is, the emails are usually marked as spam by the recipient's mail service.
I can deal with that, I suppose, but if you have any ideas as to how to get the SMTP to work, I'd greatly appreciate it.
I have another question, though.
I was originally trying to use SMTP to send mail out of my site. I got all the relevant information from my host and set it up in the config.php file. But for some reason it wouldn't send.
I switched to sendmail, and it works fine. The only problem is, the emails are usually marked as spam by the recipient's mail service.
I can deal with that, I suppose, but if you have any ideas as to how to get the SMTP to work, I'd greatly appreciate it.
8
9
Quote
All times are EST. The time is now 05:29 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content