Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Help..............  (Read 3309 times)

0 Members and 1 Guest are viewing this topic.

webdirector

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Help..............
« on: December 05, 2008, 07:44:06 pm »

Hi,

I have a problem.

My CPG was functionning without any problems.

I had issues with another domain " open_basedir" restriction I fixed that

I do not know if the two things are related but now under the domaine I have CPG running I am getting the following issue when entering the domaine I get this message:

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

        <tr>
                <td class="tableb" align="center">
                        <font size="3"><b>{MESSAGE}</b></font>


                        <br /><br />
                </td>
        </tr>

I can not even enter admin.php

Please help

any ideas ?

the url is : http://www.itouchthemes.com/cpg/


Thanks
Logged

Nibbler

  • Guest
Re: Help..............
« Reply #1 on: December 05, 2008, 07:48:06 pm »

Logged

webdirector

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Help..............
« Reply #2 on: December 05, 2008, 08:03:44 pm »

I put it in debug_mode but got no change ?

any other Idea ?

Thanks

Logged

webdirector

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Help..............
« Reply #3 on: December 05, 2008, 08:06:00 pm »

I do not know if this info is important but I also had a bridge to VBulletin in use.
vBulletin is still working

Thanks
Logged

webdirector

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Help..............
« Reply #4 on: December 05, 2008, 08:12:40 pm »

I just turned vBulletin on again and now I get this:

USER:
------------------
Array
(
    [ID] => 44a65e77095b2f1b8f0ee91e6da9569e
    [am] => 1
    [lang] => german
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 0
    [user_name] => Guest
    [groups] => Array
        (
           
  • => 3

        )

    [group_quota] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 0
    [can_post_comments] => 0
    [can_upload_pictures] => 0
    [can_create_albums] => 0
    [pub_upl_need_approval] => 1
    [priv_upl_need_approval] => 1
    [upload_form_config] => 1
    [num_file_upload] => 3
    [num_URI_upload] => 0
    [custom_user_upload] => 0
    [disk_max] => 0
    [disk_min] => 0
    [ufc_max] => 1
    [ufc_min] => 1
    [has_admin_access] => 0
    [group_name] => Guests
    [can_see_all_albums] => 0
    [group_id] => 3
)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
  • [1] => select * from cpg14x_plugins order by priority asc; (0s)
        [2] => SELECT * FROM cpg14x_bridge (0s)
        [3] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg14x_usergroups WHERE group_id in (3) (0s)
        [4] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 3 (0s)
        [5] => SELECT * FROM cpg14x_highslide_config (0s)
        [6] => DELETE FROM cpg14x_banned WHERE expiry < '2008-12-05 20:12:03' (0s)
        [7] => SELECT * FROM cpg14x_banned WHERE (ip_addr='217.235.237.196' OR ip_addr='217.235.237.196' OR user_id=0) AND brute_force=0 (0s)
        [8] => SELECT aid FROM cpg14x_albums (0s)
        [9] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = ''  ORDER BY pos (0s)
        [10] => SELECT aid FROM cpg14x_albums WHERE category = 3 (0s)
        [11] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 3 (0s)
    )

    ==========================
    GET :
    ------------------
    Array
    (
    )

    ==========================
    POST :
    ------------------
    Array
    (
    )

    ==========================
    Page generated in 0.252 seconds - 12 queries in 0 seconds - Album set : ; Meta set: AND aid IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,30,36,37,38,39,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56) ;
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Help..............
« Reply #5 on: December 05, 2008, 08:53:13 pm »

You are running a very old version of coppermine.

<!--Coppermine Photo Gallery 1.4.14 (stable)-->

Upgrade now. It may or may not help your problem but at least you won't be running the risk of a hacker easilly destroying your work.

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upgrade_why

Also, try to use a better thread title next time as it is quitehard to pick up on a thread just titled help.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

webdirector

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Help..............
« Reply #6 on: December 05, 2008, 11:23:43 pm »

I upgraded withz no results.

If I want to do a new install do I only backup database and albums directory ?

Thanks
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Help..............
« Reply #7 on: December 06, 2008, 12:10:10 am »

Well done on updrading.

What you have done is replacing everything bar your database, Album folders, themes and your config file. So where next?

I would begin by restoring a backup of my database using phpmyadmin. It looks like coppermine is having trouble communicating properly with the database. It could be corrupt or there could be something that your host needs to look at in your server setup.
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up
 

Page created in 0.031 seconds with 19 queries.