[Solved]: Install Problem - "Fatal Error" [Solved]: Install Problem - "Fatal Error"
 

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

[Solved]: Install Problem - "Fatal Error"

Started by Sandman, September 10, 2009, 03:34:38 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Sandman

Hello,

I installed v1.4.25 and after completion when I went to the page I receive the following error:
Fatal error: Call to undefined function adminmessages() in /xyz.net/coppermine/index.php on line 767
(domain name changed)

This error comes up when I am at the home page or at the config page (replacng index.php with admin.php and line 860)

Here are a few lines with the problem line bolded:
   get_cat_list($breadcrumb, $cat_data, $statistics);

   pageheader($BREADCRUMB_TEXT ? $BREADCRUMB_TEXT : $lang_index_php['welcome']);
   adminmessages();
   $elements = preg_split("|/|", $CONFIG['main_page_layout'], -1, PREG_SPLIT_NO_EMPTY);

I have tried this instalation many times withthe same results (even tried with an earlier version).

All permissions were set in directories as required in the docs.  This also is displayed when I go out of admin mode and into user mode.  All other links seem to work, except for the config.

Any assistance would be much appreciated.

onthepike

Is this a clean install or an update? If an update, did you run update.php?

Post a link to your gallery. xyz.net isn't helpful.

Sandman

This was a fresh install.

The error only comes up when you are logged in as admin.  When you just go to the page as a non registered user, you see no errors and of course nothing but the standard links which go to the proper place except there is no content yet.

onthepike

If you want additional support, post a link to your gallery (as is a requirement when asking for support). I don't want to play guessing games or 20-questions with you.

Sandman

Thanks for the response.  I did not post the url because you can not see the error unless you are logged in as admin, I was not trying to be difficult.

So for the record, the address is:  http://www.robinsonfamilytree.net/coppermine

As stated above, if you go to the site you will see the app running, however, since there is no content you only see the navigation.

onthepike

This is not correct layout. Other than your login and search pages which appear to render normally, the rest of your pages appear truncated and might be causing or contributing to your problem.

Since this is a clean install with no content, I would suggest first make a backup of your /include/config.inc.php file, then complete a manual install after purging the entire /coppermine directory.

I may be wrong, but I believe this issue may be caused by your web host implementing a footer on auto-install. Try a full purge and manual re-install. Don't use an auto-installer with Coppermine.

Try that and report back.

Sandman

That did it, thank you very much for your assistance