• Resolved koocotte

    (@koocotte)


    Cool Video Gallery look great, but I face many issues to make it work:

    System is GNU/Linux Debian with wordpress 5.0.4 (backport) and wordpress-l10n. MySQL is 5.0.51.

    System global files for wordpress are located in /usr/share/wordpress; my own files are located in /home/web/site/wp-uploads/

    I installed Cool Video Gallery from the zip file into /usr/share/wordpress/wp-content/plugins/cool-video-gallery

    1. I can activate the plugin in the wordpress console, but no MySQL tables are created, nothing is inserted into wp_options. When I add a call to ‘die’ at the begining of _cvg_activate(), it doesn’t show in the wordpress console while activating. As a quick fix I created both tables by hand and added a cvg_version record

    2. I can not create a gallery, it does nothing, no error, no gallery. By inspecting CoolVideoGallery(), I saw that default_gallery_path is set to wp-content/uploads/video-gallery/ (don’t know why is_multisite does not work). As a quickfix I commented the test. Forcing the first choice, I got a full-path for default_gallery_path (/home/web/site/wp-uploads/video-gallery/); but in core.php, winabspath is added before. So as a new quickfix I changed winabspath to ‘/’, and videos goes into /home/web/site/wp-uploads/video-gallery/; I can now create gallery, but path are not working as expected.

    3. I put two videos in video-gallery/test1 (my gallery) and try “Scan gallery folder”, but it does not produce any request to the server. Maybe an InternetExplorer only button ?

    I can create you a test wordpress+Cool Video Gallery website if you need it to investigate and correct thoses bugs.

    http://wordpress.org/extend/plugins/cool-video-gallery/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Praveen Rajan

    (@praveen-rajan)

    @koocotte

    Do you mean your PHP ver is 5.0.4? Why is your WordPress core files and upload files kept at different location?

    May be your PHP version is old and hence doesn’t support it. Please give me a test link so that I could run a test on it.

    Thanks
    Praveen

    Thread Starter koocotte

    (@koocotte)

    Do you mean your PHP ver is 5.0.4?

    Sorry, I did a mistake. It’s wordpress 3.0.4.
    Php is 5.2.6

    Why is your WordPress core files and upload files kept at different location?

    This is how we do it on a multi-user system. Programs are installed on the system level; and any user is using it. It allow system security update for every user, packaging, clear separation between code and user-data.

    Thread Starter koocotte

    (@koocotte)

    How can I find your email to send you a link?

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    @koocotte

    okay I got it now. But I don’t think the functions in plugin will work if your files are at different location. This is because absolute path is used in many scenarios with this plugin.

    You could put your link here so that I could check.

    Thanks
    Praveen

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Cool Video Gallery on wordpress Debian’ is closed to new replies.