Advanced search  

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]

Pages: [1]   Go Down

Author Topic: highslide plugin error  (Read 14393 times)

0 Members and 1 Guest are viewing this topic.

fotovagu

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
highslide plugin error
« on: March 16, 2007, 11:14:06 am »

i have installed some plugins like (online stat, online today) to my gallery and they work fine. i always get an error while using the upload manager to upload pugins to my gallery. so i have to FTP them to my plugin folder. and install them by  plugin manager.

i tried to upload the highslide plugin to my plugin folder by (FTP), while it was uploading i re-fresh my gallery and got the following error. (there was just a white page)

Fatal error: hs_install(): Failed opening required 'plugins/highslide/include/init.inc.php' (include_path='.:/usr/local/lib/php') in /home/fotovagu/public_html/gallery/plugins/highslide1/codebase.php on line 34

and when the uploadin is done again i re-fresh my gallery and got the following error.

Critical error
There was an error while processing a database query

pls let me know what im doing wrong.

thank you in advance.
Logged

SaWey

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1119
    • SaWey.be
Re: highslide plugin error
« Reply #1 on: March 17, 2007, 11:54:49 am »

Hey

It looks like you try to include the init.inc.php file from within your highslide plugin and the path to that file isn't correct.
try looking for the 'init.inc.php' file in your plugin and add '../../' before the path to the file.
Logged

Nibbler

  • Guest
Re: highslide plugin error
« Reply #2 on: March 17, 2007, 03:50:55 pm »

Enable debug mode...
Logged

fotovagu

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: highslide plugin error
« Reply #3 on: March 18, 2007, 11:26:12 am »

i have already tried with  debug mode ON. but the problem is when highslide is uploaded to my plugin folder i cannot see my gallery. there is just a blank, white page with the above mentioned error.  :-\

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: highslide plugin error
« Reply #4 on: March 18, 2007, 02:38:38 pm »

I recommend doing as suggested if you want supporters to look into your issues...
Logged

fotovagu

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: highslide plugin error
« Reply #5 on: March 18, 2007, 11:09:12 pm »

as i said before, when highslide is uploaded by FTP, i cannot see the gallery page.. so cant get anything eventhough the safe mode is ON.
and its strange, now nothing happens when i try to upload any plugin by plugin manager, neither can i delete any plugin by the plugin manager. could this be a problem with  /plugins folder access ?

btw.. this is wot i got from the plugin manager page (debug mode)




USER:
------------------
Array
(
    [ID] => 47fd696fcd9d65f19ecc7b0cd7ba7420
    [am] => 1
    [lang] => english
    [liv] => Array
        (
           
  • => 9335
  • [1] => 9390
                [2] => 9790
                [3] => 9781
                [4] => 9838
            )

       
[search] => Array
        (
            [search] => reethi
            [album] => search
            [title] => on
            [newer_than] =>
            [caption] => on
            [older_than] =>
            [keywords] => on
            [type] => AND
            [params] => Array
                (
                    [title] => on
                    [caption] => on
                    [keywords] => on
                )

        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => fotovagu
    [groups] => Array
        (
           
  • => 1

        )

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

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content, player FROM cpg149_filetypes; (0s)
  • [1] => select * from cpg149_plugins order by priority asc; (0s)
        [2] => delete from `fotovagu_copper`.cpg149_sessions where time<1174251616 and remember=0; (0s)
        [3] => delete from `fotovagu_copper`.cpg149_sessions where time<1173045616; (0s)
        [4] => select user_id from `fotovagu_copper`.cpg149_sessions where session_id=md5("5a91badfa62b4a4d5cd1e620dde0191e734c1bd8a44a340e8201fe49c3e941d1"); (0s)
        [5] => select user_id as id, user_password as password from `fotovagu_copper`.cpg149_users where user_id=1 (0s)
        [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `fotovagu_copper`.cpg149_users AS u INNER JOIN `fotovagu_copper`.cpg149_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `fotovagu_copper`.cpg149_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
        [8] => 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 cpg149_usergroups WHERE group_id in (1) (0s)
        [9] => SELECT group_name FROM  cpg149_usergroups WHERE group_id= 1 (0s)
        [10] => update `fotovagu_copper`.cpg149_sessions set time='1174255216' where session_id=md5('5a91badfa62b4a4d5cd1e620dde0191e734c1bd8a44a340e8201fe49c3e941d1'); (0.001s)
        [11] => SELECT user_favpics FROM cpg149_favpics WHERE user_id = 1 (0s)
        [12] => DELETE FROM cpg149_mod_online WHERE last_action < NOW() - INTERVAL 10 MINUTE (0.009s)
        [13] => REPLACE INTO cpg149_mod_online (user_id, user_name, user_ip, last_action) VALUES ('1', 'fotovagu', '202.1.192.2', NOW()) (0.006s)
        [14] => DELETE FROM cpg149_banned WHERE expiry < '2007-03-18 03:00:16' (0.009s)
        [15] => SELECT * FROM cpg149_banned WHERE (ip_addr='202.1.192.2' OR ip_addr='202.1.207.213' OR user_id=1) AND brute_force=0 (0.001s)
        [16] => SELECT COUNT(*) FROM cpg149_pictures WHERE approved = 'NO' (0.006s)
        [17] => select plugin_id from cpg149_plugins where path="cat_directory"; (0s)
        [18] => select plugin_id from cpg149_plugins where path="loginform"; (0s)
        [19] => select plugin_id from cpg149_plugins where path="onlinestats"; (0s)
        [20] => select plugin_id from cpg149_plugins where path="online_today"; (0s)
        [21] => select plugin_id from cpg149_plugins where path="receive"; (0s)
        [22] => select plugin_id from cpg149_plugins where path="sample"; (0s)
        [23] => select plugin_id from cpg149_plugins where path="sef_urls"; (0s)
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.1 - OK
    ------------------
    mySQL version: 4.0.16
    ------------------
    Coppermine version: 1.4.10(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.28 compatible)
    FreeType Support: 1
    FreeType Linkage: with freetype
    T1Lib Support:
    GIF Read Support: 1
    GIF Create Support: 1
    JPG Support: 1
    PNG Support: 1
    WBMP Support: 1
    XBM Support: 1
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 1
    Client API version 4.0.16
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /tmp/mysql.sock
    MYSQL_INCLUDE -I/usr/local/mysql/include/mysql
    MYSQL_LIBS -L/usr/local/mysql/lib/mysql -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.2.3
    Linked Version 1.2.3
    ==========================
    Server restrictions (safe mode)?
    ------------------
    Directive | Local Value | Master Value
    safe_mode | Off | Off
    safe_mode_exec_dir | no value | no value
    safe_mode_gid | Off | Off
    safe_mode_include_dir | no value | no value
    safe_mode_exec_dir | no value | no value
    sql.safe_mode | Off | Off
    disable_functions | no value | no value
    file_uploads | On | On
    include_path | .:/usr/local/lib/php | .:/usr/local/lib/php
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | me@localhost.com | me@localhost.com
    sendmail_path | /usr/sbin/sendmail -t -i  | /usr/sbin/sendmail -t -i
    SMTP | localhost | localhost
    smtp_port | 25 | 25
    ==========================
    Size and Time
    ------------------
    Directive | Local Value | Master Value
    max_execution_time | 30 | 30
    max_input_time | -1 | -1
    upload_max_filesize | 2M | 2M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.113 seconds - 24 queries in 0.032 seconds - Album set : ; Meta set: ;
Logged

vipertoom

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: highslide plugin error
« Reply #6 on: August 11, 2007, 02:17:35 pm »

i want to try install this plugin too, and i geht the same error.

is ther this time an idea, what i can do???

Code: [Select]
Fatal error: hs_install() [function.require]: Failed opening required 'plugins/highslide/include/init.inc.php' (include_path='.:/usr/share/php') in /srv/www/vhosts/venusboxx.de/httpdocs/cmskitty/modules/Gallery/plugins/highslide/codebase.php on line 34
i copy the highslide folder via ftp in the pluginfolder and was press the "i" in plugins.

Debug mode says:

Code: [Select]
USER:
------------------
Array
(
    [ID] => 54d943742a984c9da17b1a744620d41d
    [am] => 1
    [lang] => german
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [disk_max] => 1024
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => -Gallery-Admins
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 5
    [groups] => Array
        (
            [2] => 2
            [6] => 6
            [1] => 1
            [5] => 5
        )

    [user_id] => 2
    [user_name] => Thomas Hiller
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM mx40351_cpg1411_filetypes; (0s)
    [1] => select * from mx40351_cpg1411_plugins order by priority asc; (0s)
    [2] => SELECT group_id, group_name FROM mx40351_cpg1411_usergroups WHERE 1 (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 mx40351_cpg1411_usergroups WHERE group_id in (2,6,1,5) (0s)
    [4] => SELECT group_name FROM  mx40351_cpg1411_usergroups WHERE group_id= 5 (0s)
    [5] => SELECT user_favpics FROM mx40351_cpg1411_favpics WHERE user_id = 2 (0s)
    [6] => DELETE FROM mx40351_cpg1411_banned WHERE expiry < '2007-08-11 18:20:06' (0s)
    [7] => SELECT * FROM mx40351_cpg1411_banned WHERE (ip_addr='84.138.103.112' OR ip_addr='84.138.103.112' OR user_id=2) AND brute_force=0 (0s)
    [8] => SELECT COUNT(*) FROM mx40351_cpg1411_pictures WHERE approved = 'NO' (0s)
    [9] => select plugin_id from mx40351_cpg1411_plugins where path="highslide"; (0s)
    [10] => select plugin_id from mx40351_cpg1411_plugins where path="sample"; (0s)
)

==========================
GET :
------------------
Array
(
    [name] => Gallery
    [act] => pluginmgr
)

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

==========================
VERSION INFO :
------------------
PHP version: 4.4.0 - OK
------------------
mySQL version: 4.1.13
------------------
Coppermine version: 1.4.10(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.1.13
MYSQL_MODULE_TYPE none
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.3
Linked Version 1.2.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/share/php | .:/usr/share/php
open_basedir | /srv/www/vhosts/venusboxx.de/httpdocs:/tmp | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t -fwebmaster@l-d-t-forum.de | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.179 seconds - 11 queries in 0 seconds - Album set : ; Meta set: ;
Logged

vipertoom

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: highslide plugin error
« Reply #7 on: August 11, 2007, 02:22:44 pm »

bye the way, i was try to include ../../ in the init.inc.php file, but installation dosent work
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: highslide plugin error
« Reply #8 on: August 11, 2007, 04:11:02 pm »

@fotovagu : You've copied the plugin to the highslide1 and that was the problem the true folder name is highslide

@vipertoom: please post a link to your gallery with highslide plugin problem
Logged
‍I don't answer to PM with support question
Please post your issue to related board

vipertoom

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: highslide plugin error
« Reply #10 on: August 11, 2007, 04:46:56 pm »

Sorry I'm not familiar with Pragmamx And I don't know how they integrated CPG on their CMS , so I think it would be better to ask them for support

BTW I think you should be more careful with your CMS installation folder and it's better to delete it
Logged
‍I don't answer to PM with support question
Please post your issue to related board

vipertoom

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: highslide plugin error
« Reply #11 on: August 11, 2007, 05:03:54 pm »

yes, thanks, but it is a new installation, if all works, i will delete the folder ;)

pragmaMX say, coppermine is only a modul, not scripted by pragmamx, for infos for plugins go to coppermine forum. what do i now? :/
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: highslide plugin error
« Reply #12 on: August 11, 2007, 05:12:12 pm »

Sorry but their site is all german and I don't understand german I can't even download their coppermine module because of their Cpathca problem ???
maybe a native german supporter helps you ...
Logged
‍I don't answer to PM with support question
Please post your issue to related board

vipertoom

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: highslide plugin error
« Reply #13 on: August 11, 2007, 05:17:21 pm »

hm, i can understand your position, but i think they dont help me. I must try somthing other. have you an idea, where i can delte the Link in the thumbnails? this is an alternative, i would have only thumbnails, not clickable .... in an older coppermineversion i could create this in the theme.php, but in the actual theme i dont found the function for thumbnail display (sorry for my english, i hope you can in pats understand, waht i need) :D
Logged

vipertoom

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: highslide plugin error
« Reply #14 on: August 11, 2007, 05:55:17 pm »

Ok, forget my last post (for the moment) ;)

i have take a try, and have the same problem. I have download the stable standalone version from this side, have install it and upload this plugin, have press enter, and become the same error.

Link to new installation of the coppermine standalone: http://www.venusboxx.de/cpgkitty/pluginmgr.php
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: highslide plugin error
« Reply #15 on: August 11, 2007, 06:36:52 pm »

Can't see your page cause it needs admin permission , please enable debug mode and post the actual error ...
Logged
‍I don't answer to PM with support question
Please post your issue to related board

vipertoom

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: highslide plugin error
« Reply #16 on: August 11, 2007, 06:43:56 pm »

Ok, the actual Error is:

Code: [Select]
Fatal error: main() [function.require]: Failed opening required '../../plugins/highslide/lang/english.php' (include_path='.:/usr/share/php') in /srv/www/vhosts/venusboxx.de/httpdocs/cpgkitty/plugins/highslide/include/init.inc.php on line 23
i have activate debug mode and install an admin:

username: XXX
pass: XXXXX

[Edited by Sami]:
Username and password removed for security
« Last Edit: August 11, 2007, 10:55:41 pm by Sami »
Logged

vipertoom

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: highslide plugin error
« Reply #17 on: August 11, 2007, 06:45:05 pm »

Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: highslide plugin error
« Reply #18 on: August 11, 2007, 10:54:04 pm »

Post an admin account on a public board is not a good idea
please make sure to change your real admin's password

Remove the ../../ from init.inc.php and you'll be fine
Logged
‍I don't answer to PM with support question
Please post your issue to related board
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 20 queries.