forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 plugins => Topic started by: fotovagu on March 16, 2007, 11:14:06 am

Title: highslide plugin error
Post by: fotovagu 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.
Title: Re: highslide plugin error
Post by: SaWey 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.
Title: Re: highslide plugin error
Post by: Nibbler on March 17, 2007, 03:50:55 pm
Enable debug mode...
Title: Re: highslide plugin error
Post by: fotovagu 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.  :-\

Title: Re: highslide plugin error
Post by: Joachim Müller on March 18, 2007, 02:38:38 pm
I recommend doing as suggested if you want supporters to look into your issues...
Title: Re: highslide plugin error
Post by: fotovagu 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
        (
            [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
        (
           
        )

    [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
(
   
Title: Re: highslide plugin error
Post by: vipertoom 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: ;
Title: Re: highslide plugin error
Post by: vipertoom 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
Title: Re: highslide plugin error
Post by: Sami 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
Title: Re: highslide plugin error
Post by: vipertoom on August 11, 2007, 04:21:01 pm
Here it is:

http://www.venusboxx.de/cmsvenusbox/modules.php?name=Venusbox&act=pluginmgr
Title: Re: highslide plugin error
Post by: Sami 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
Title: Re: highslide plugin error
Post by: vipertoom 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? :/
Title: Re: highslide plugin error
Post by: Sami 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 ...
Title: Re: highslide plugin error
Post by: vipertoom 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
Title: Re: highslide plugin error
Post by: vipertoom 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
Title: Re: highslide plugin error
Post by: Sami 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 ...
Title: Re: highslide plugin error
Post by: vipertoom 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
Title: Re: highslide plugin error
Post by: vipertoom on August 11, 2007, 06:45:05 pm
http://www.venusboxx.de/cpgkitty/
Title: Re: highslide plugin error
Post by: Sami 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