Installation woes Installation woes
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Installation woes

Started by SquireRob, February 07, 2006, 05:17:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SquireRob

Hi, I have a Linux FC3 with PHP4/phpBB2 and MySQL 4.1.x installed. I am pretty sure I have done the right thing (RTFM etc) however I have had a few probs. Yep, got the nuke check thing and found the forum posting no probs. Next my lowercase alphanumeric admin name/password was rejected so I commented out the check. Not sure what is wrong as I do not do PHP (perhaps no capital letters, I only had numerics in the password).
Then I found I needed to adjust the "forbiden_fname_char" string
from :
INSERT INTO CPG_config VALUES ('forbiden_fname_char', '$/\\\\:*?"\<>|` &');

to
INSERT INTO CPG_config VALUES ('forbiden_fname_char', '$/\\\\:*?"\<>|` &');
in order to get past some syntax errors due to the ";" embedded chars. My real show stopper is this:

Template error
Failed to find block 'login'(#(<!-- BEGIN login -->)(.*?)(<!-- END login -->)#s) in :

            <!-- BEGIN home -->
        <a href="{HOME_TGT}" title="{HOME_TITLE}">{HOME_LNK}</a> ::
  <!-- END home -->  <!-- BEGIN my_gallery -->
        <a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a> ::
  <!-- END my_gallery -->  <!-- BEGIN allow_memberlist -->
        <a href="{MEMBERLIST_TGT}" title="{MEMBERLIST_TITLE}">{MEMBERLIST_LNK}</a> ::
  <!-- END allow_memberlist -->  <!-- BEGIN my_profile -->
        <a href="{MY_PROF_TGT}" title="{MY_PROF_TITLE}">{MY_PROF_LNK}</a> ::
  <!-- END my_profile -->  <!-- BEGIN enter_admin_mode -->
        <a href="{ADM_MODE_TGT}" title="{ADM_MODE_TITLE}">{ADM_MODE_LNK}</a> ::
  <!-- END enter_admin_mode -->  <!-- BEGIN leave_admin_mode -->
        <a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}">{USR_MODE_LNK}</a> ::
  <!-- END leave_admin_mode -->  <!-- BEGIN upload_pic -->
        <a href="{UPL_PIC_TGT}" title="{UPL_PIC_TITLE}">{UPL_PIC_LNK}</a> ::
  <!-- END upload_pic -->  <!-- BEGIN register -->
        <a href="{REGISTER_TGT}" title="{REGISTER_TITLE}">{REGISTER_LNK}</a> ::
  <!-- END register -->  <!-- BEGIN faq -->
        <a href="{FAQ_TGT}" title="{FAQ_TITLE}">{FAQ_LNK}</a> ::
  <!-- END faq -->  <!-- BEGIN login -->
        <a href="{LOGIN_TGT}" title="{LOGIN_TITLE}">{LOGIN_LNK}</a>
  <!-- END login -->  <!-- BEGIN logout -->
        <a href="{LOGOUT_TGT}" title="{LOGOUT_TITLE}">{LOGOUT_LNK}</a>
  <!-- END logout -->

I got this with a base install. Attempted again but after adjusting theme to be "classic" as "core" does not exist, still no joy. So, what have I done wrong? Not sure how others get by without seeing these MySQL syntax errors being reported (similar issue with phpBB2 install). Oh I am sharing the phpBB2 database, admin login etc. Also this is all on my sandbox localhost m/c. Hope you can help, TIA.

Robin
Regards
Robin

Stramm

before you bridge coppermine with youir forum software you need to run it as standalone. When all's working smooth you start the bridge manager.

SquireRob

Thanks, I always appreciate and take advice from the experts. However, in the interest of experience is it possible to tell me which bit of the install screen I got wrong. The manual says that I can share a DB, the DB admin/password is a regular Linux user (with MySQL permissions), all I would do to change this is to create another, but I cannot see how using a current user can effect the install. The CPG admin user is the one I am logged on as, is this causing a problem, should I create a seperate Linux user for CPG. I appreciate this is sophisticated software, but I would rather understand the problem than go off and create more users just incase. The missing block message was received straight after the Installation screen and the confirmation dialog, so I have not had chance yet to configure anything.
Thanks for your patience.
Robin
Regards
Robin

Nibbler


SquireRob

Sounds like it could. I did not recompile on my sandbox, but did for the server (x86_64). However PHP says that "Beginning with PHP 4.2.0 these functions are enabled by default" but it may be that I need --with-regex. Anyhow you have given me a +ve lead and I will explore when I get to my server and f/b here, thanks.
Robin
Regards
Robin

SquireRob

I would say the regex thing was the problem. I have just installed on my server which runs Apache 2.0.54 (sandbox is 2.0.53) but the difference is I compiled the PHP 4.4.3-dev (sandbox 4.3.11) only with './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysql' '--with-mysqli=/usr/bin/mysql_config'. So I am grateful for your lead and now for the fun part once I have bridged across to phpBB2, thanks.
Regards
Robin