I'm trying to set up the demo version of wwwthreads (php) for a spin. I believe I have all the right variables plunke into the various config files, but when running the create tables script, I get the following error returned to me:
Parse error: parse error in /usr/local/apache/htdocs/ise/threads/wwwthreads/config.inc.php on line 197
I'm runing PHP 3.0.15 on a freebsd box. Any recommendations?
More than likely it is a missing " or ; or maybe a quote in one of the variables that wasn't escaped. For starters you will want to take a look at the settings that you changed and make sure everything is quoted or escaped properly.
Ah, that was my mistake for not fixing the php demo. That line should look like $config[allowfiles] = ..., you need to change the {' to [ and the '} to ].
The next problem I am having, which has nothing to do with WWWThreads I think, is getting sendmail to work with PHP. I can't get my password, cause php isn't sending it to me. Do you have any experaince to lend on how to tweak php with the php.ini config file?
This is probably an incompatibility with the version of PHP you are running. These lines refer to a function called "str_replace" which may not have been available in the early versions of PHP.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.