Youtube video embed function dont work...

Hi, i don't know why but when i try to add a video in my album with the youtube embed feature.... it get the video info on youtube but when i click on Submit button.... nothing happen...

 

and here is the SQL error i got:

 

Database error in ENWOYE.COM :: L'utime social Québécois!

 
Query:  INSERT INTO `sys_albums_objects` (`id_album`, `id_object`) VALUES ('8', '0')
Mysql error: Duplicate entry '8-0' for key 'id_album'

 Found error in the file
'/home/admin/domains/enwoye.com/public_html/inc/classes/BxDolAlbums.php' at line
356.

Called 'query' function with erroneous argument #0.


 Debug backtrace:
 Array
(
    [1] => Array
        (
            [file] =>
/home/admin/domains/enwoye.com/public_html/inc/classes/BxDolDb.php
            [line] => 237
            [function] => error
            [class] => BxDolDb
            [object] => BxDolDb Object
                (
                    [error_checking] => 1
                    [error_message] => Duplicate entry '8-0' for key 'id_album'
                    [host] => localhost
                    [port] => 
                    [socket] => 
                    [dbname] => admin_enwoye
                    [user] => *****
                    [password] => *****
                    [link] => Resource id #26
                    [current_res] => 
                    [current_arr_type] => 1
                    [oParams] => BxDolParams Object
                        (
                            [_oDb] => BxDolDb Object
 *RECURSION*
                            [_oCache] => BxDolCacheFile Object
                                (
                                    [sPath] =>
/home/admin/domains/enwoye.com/public_html/cache/
                                )

                            [_sCacheFile] =>
sys_options_dfb83ad68929484806ff2231a90a1551.php
                            [_aParams] => [truncated]
                        )

                    [oDbCacheObject] => BxDolCacheFile Object
                        (
                            [sPath] =>
/home/admin/domains/enwoye.com/public_html/cache/
                        )

                )

            [type] => ->
            [args] => Array
                (
                    [0] => Database query error
                    [1] => 
                    [2] => INSERT INTO `sys_albums_objects` (`id_album`,
`id_object`) VALUES ('8', '0')
                )

        )

    [2] => Array
        (
            [file] =>
/home/admin/domains/enwoye.com/public_html/inc/classes/BxDolDb.php
            [line] => 205
            [function] => res
            [class] => BxDolDb
            [object] => BxDolDb Object
                (
                    [error_checking] => 1
                    [error_message] => Duplicate entry '8-0' for key 'id_album'
                    [host] => localhost
                    [port] => 
                    [socket] => 
                    [dbname] => admin_enwoye
                    [user] => *****
                    [password] => *****
                    [link] => Resource id #26
                    [current_res] => 
                    [current_arr_type] => 1
                    [oParams] => BxDolParams Object
                        (
Quote · 3 Nov 2014

 

it get the video info on youtube but when i click on Submit button.... nothing happen...

 What link do you use for the embed?  If you use the url from the video it won't work - you have to use the share one - or is it the other way around?  I know only one works and the other just sits there.   Did this error message appear on the screen, or did you have to go dig it up?

Quote · 5 Nov 2014

 

Mysql error: Duplicate entry '8-0' for key 'id_album'

Two albums can not have the same id; does this happen every time?

Geeks, making the world a better place
Quote · 5 Nov 2014

try to delete other album and try again..

"Your future is created by what you do today, not tomorrow." @ www.dexpertz.net
Quote · 5 Nov 2014

ok i try to delete and uninstall the module

after i create a new album... try upload with the youtube link (as it show in the example)

 

I got this error message :  Video upload failed (failed to accept information)

so whats wrong... it works on my previous dolphin installation.... :(

Quote · 5 Nov 2014

 

ok i try to delete and uninstall the module

after i create a new album... try upload with the youtube link (as it show in the example)

 

I got this error message :  Video upload failed (failed to accept information)

so whats wrong... it works on my previous dolphin installation.... :(

I don't know.  However, my question is did you try to delete the entry in the database with the duplicate key?  That was our first suggestion for you.

Geeks, making the world a better place
Quote · 5 Nov 2014

yes i already delete the album 23 into the database directly

i delete both in sys_albums_objects  and sys_albums

i create again the album in my account and after i try add again youtube video...


I got this error message :  Video upload failed (failed to accept information)

so i really dont know what is the problem :(

Quote · 7 Nov 2014

i dont know if is there a link with this issue.... but i notice that i see often that message when im loading some page of my website

 

Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set in /home/admin/domains/enwoye.com/public_html/inc/utils.inc.php on line 1160


on my php.ini the open_basedir line is disable by comment

; open_basedir =


Quote · 7 Nov 2014

 

i dont know if is there a link with this issue.... but i notice that i see often that message when im loading some page of my website

 

Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set in /home/admin/domains/enwoye.com/public_html/inc/utils.inc.php on line 1160


on my php.ini the open_basedir line is disable by comment

; open_basedir =


Uncomment the line (remove the ;), and see if that works.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 7 Nov 2014

With that line commented out, you are not setting a base directory.  Just for fun, search your php.ini for open_basedir to see if there is another entry; some php.ini files have an "instructions" part at the top of the file and the actually settings are down in the different sections of the php.ini file.

Geeks, making the world a better place
Quote · 7 Nov 2014

well no :( there is not another line with open_basedir

also i already try to uncomment that line and let it empty... i get the same error :(

Quote · 9 Nov 2014

Today i try to do a fresh new Ubuntu install with a fresh install of dolphin....

Same issue... cant upload Youtube video embed

and same error message about

Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set in /home/admin/domains/enwoye.com/public_html/inc/utils.inc.php on line 1160


so i really dont know what's wrong with my server :(

Quote · 9 Nov 2014

 

Today i try to do a fresh new Ubuntu install with a fresh install of dolphin....

Same issue... cant upload Youtube video embed

and same error message about

Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set in /home/admin/domains/enwoye.com/public_html/inc/utils.inc.php on line 1160


so i really dont know what's wrong with my server :(

Are you editing the system php.ini or a local one? I believe there are several system php.ini files in Ubuntu for each service (one for Apache, another for CLI, etc.). Also make sure you restart Apache after making any changes.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 9 Nov 2014

May I suggest CentOS?

Geeks, making the world a better place
Quote · 10 Nov 2014

yes that's what im about to think geekgirl :)

Quote · 10 Nov 2014

 

yes that's what im about to think geekgirl :)

Seconded for CentOS. But be sure to disable SELinux, or else you might have more headaches. Tongue Out

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 10 Nov 2014

dawm!!!!  even with centos 6.5 i still got 

Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set in /home/admin/domains/enwoye.com/public_html/inc/utils.inc.php on line 1160


seriously!!!

Quote · 11 Nov 2014

 

dawm!!!!  even with centos 6.5 i still got 

Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set in /home/admin/domains/enwoye.com/public_html/inc/utils.inc.php on line 1160


seriously!!!

Something is clearly wrong with the setup. If you'd like, I can take a look for you and try to quickly correct this.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 11 Nov 2014

BUT!!! youtube embed upload finally work... but i just dont understand why i see always the

Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set in /home/admin/domains/enwoye.com/public_html/inc/utils.inc.php on line 1160


error message

Quote · 11 Nov 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.