I could not reproduce any problem.
Please note that, had to change it to default theme to try out for my own convenience. Please revert back to your preferred theme.
One thing that you should note here that unless you add multilingual entry for parent, there is no point in adding entry for child items.
I have seen that happening with gallery.
If you can reproduce it again, please mention step by step that can be reproduced with default theme.
If it works for you then we will know that module and theme are not compatible to each other.
Hi gopu,
I'll try steb-by-step description:
1. Set GreyDragon theme (If you are using GreyDragon theme you'll see the exception)
2. Go to http://gallery.kbb1.com/index.php/arvut
3. You'll see some of thumbs displayed as "empty" images and some displayed normal. The "Empty" images are images where multilanguage was added.
4. Go to http://gallery.kbb1.com/var/thumbs/arvut/photo_norav_arvut_2011-08-16_shulhan-agol_abitton_n016.jpg?m=1324957669 (URL of first thumb in the page)
5. You'll see "big" image that empty
6. Click on "big" picture -> If you are using GreyDragon theme you'll see the exception, in other cases it still displays "empty" image.
Hello gopu,
I never set language prefernce for my user before.
I selected default language now and it worked for me. Thank you!
But still looks like there is a bug somewhere.
Where do you think may be the problem?
Dogen
gopu
Joined: 2009-08-28
Posts: 137
Posted: Wed, 2012-01-11 15:38
Dogen,
What you changed is user preference language (through the drop down)
As an admin one can set the Default Language. See in settings.
If you have imported from Gallery2 to Gallery3... it's important that the the Default language in both the case are same.
In your current Gallery3, the default lang is English.
In your case possibly
Either you have different default language in Gallery 2 than Gallery 3
Or you have changed the Default language in between.
During the installation of multilang module you might have observed that there is warning that Default Language should not be changed.
I accidently switched off Multilang module and cannot swich it back on. Can you help what modules required to install correctly?
Default language was and is Ru, additional is En-UK.
hello.
firstly, thanks for such useful idea.
secondly: i know everybody is using this module without any problem.
but for me: when i activate the module, all the gallery goes BOOM! nothing works, no page opens, even admin pages and all addresses become just blank pages. i checked pages code using firefox, but codes are blank too and contain nothing. the only solution to make everything work is to delete module folder using ftp access.
is this my wrong or something else?
thanks.
gopu
Joined: 2009-08-28
Posts: 137
Posted: Tue, 2012-04-03 12:49
diapason, what's the gallery version are you using?
do you have TAG module enabled?
@diapason, first you need to ensure that you have enough data size limit for your DB. Check whether you have already met the DB max limit.
If you have checked and sure that its within the max limit (allowed by your hosting company) then
for further diagnose I need gallery admin access
too can do it... try activating/deactivating TAG related modules.
hello gopu.
i tested it, but
and no problem with database size limit. the gallery is new and database is not so huge. it's just 7mb.
if you have time (just if you have) username and passwords to anywhere needed is PMed.
djtropez
Joined: 2011-06-22
Posts: 31
Posted: Sat, 2012-09-08 12:09
hi, i have a problem i can't see the tag field in the multilanguage form.....anybody have somes suggestions
gopu
Joined: 2009-08-28
Posts: 137
Posted: Sat, 2012-09-08 13:05
It seems you have not installed the latest version.
no, I have cancelled the old module and i'm trying to install the new one.
gopu
Joined: 2009-08-28
Posts: 137
Posted: Sun, 2012-09-09 19:27
in such case you need ensure that the old multilang first needs to be deactivated and then deleted which will uninstall the old multilang.
if you dont do that the new installation will not work as the old tables are still there.
i delete the old table in my database but i don't remember if i deactivated and then delete the module. i have encore the same problem how i can install the module? where i can see if there are other parts of the old multilanguage?
thanks
gopu
Joined: 2009-08-28
Posts: 137
Posted: Sun, 2012-09-09 21:02
Uninstall does the following things.
Make sure these are done.
I don't believe to have understood..... what should I do with what you have written me? thanks for the help!
gopu
Joined: 2009-08-28
Posts: 137
Posted: Wed, 2012-09-12 16:51
Since you could delete the multilang_items table, i assume you know how to run SQL query:
Run following SQL query in your Gallery3 DB:
Quote:
DROP TABLE IF EXISTS {multilang_items}
ALTER TABLE {tags} DROP UNIQUE `name-locale` ( `name` , `locale` )
ALTER TABLE {tags} DROP `locale`
ALTER TABLE {tags} ADD INDEX name
replace {multilang_items} and {tags} with tags and multilang_items table name in your Gallery3 DB.
Its generally preceded with <g3_prefix>, whatever prefix you would have chosen during the installation.
djtropez
Joined: 2011-06-22
Posts: 31
Posted: Thu, 2012-09-13 14:53
no i can't install the module..... i don't know how i can do........
gopu
Joined: 2009-08-28
Posts: 137
Posted: Thu, 2012-09-13 17:11
if you provide me the admin access to your site, i can look into it.
djtropez
Joined: 2011-06-22
Posts: 31
Posted: Thu, 2012-09-13 17:27
but i'm working in local whit easy php we can do a remote connection with teamviewer?
gopu
Joined: 2009-08-28
Posts: 137
Posted: Thu, 2012-09-13 17:55
lets take it offline... PM with your Gallery3 logs
The logs are present in var/logs
i'm sorry but i need to have more explication about what i must do
i must going into the folder var/logs of gallery menalto?
and after?
thank you very much!
gopu
Joined: 2009-08-28
Posts: 137
Posted: Fri, 2012-09-14 06:45
You need to send me the logs file present in var/logs folder of your gallery3 installation.
Goto your folder where you have installed gallery3.
- Look for subfolder var.
- Under var, look for subfolder logs
- Zip these files and send it to me
This will give me an indication to what's going wrong in your setup.
djtropez
Joined: 2011-06-22
Posts: 31
Posted: Fri, 2012-09-14 06:54
ok but you can give me an email? i can't send the zip file trought the site
djtropez
Joined: 2011-06-22
Posts: 31
Posted: Mon, 2012-09-17 11:53
hey gopu you have understand because i can't install your module?
nzsolar
Joined: 2012-09-25
Posts: 1
Posted: Tue, 2012-09-25 04:40
Hi Gopu,
Can you please explain how to enable multilang sidebar?
I am having issues uploading with it disabled...
gopu
Joined: 2009-08-28
Posts: 137
Posted: Tue, 2012-09-25 04:50
Goto Appearance->Manage Sidebar
and then choose "Localized Sidebar" by dragging it to right
THAIS ESCALONA
Joined: 2012-10-01
Posts: 1
Posted: Mon, 2012-10-01 18:34
Hi!
Thank you all for the information provided, the truth has been very useful and much more useful the module.
I love that we can share important information ;)
gopu
Joined: 2009-08-28
Posts: 137
Posted: Mon, 2012-10-01 18:51
Quote:
Thank you all for the information provided, the truth has been very useful and much more useful the module.
I love that we can share important information ;)
i am glad that it has been useful
SilentHunter
Joined: 2012-04-25
Posts: 4
Posted: Fri, 2012-11-09 10:58
Hello,
first big thanks for that module!! I have a question: does the multilanguage module support the "static pages" module and the tag cloud module? If yes, how do it edit the entries?
And where do i find the edit for the default gallery tags? Thank you!!!
hello, thank you für the module - i have a small bug, if i translate the album, the new paths are not saved consequently, first they work, at second click the path is changed to the root url. i noticed, that the value is deleted in the db... can u help here?
DamienA
Joined: 2003-05-25
Posts: 203
Posted: Sun, 2013-03-31 02:59
Hello, Thank you for this module. I just installed it on Gallery 3.0.6
I checked that it installed, went to admin/Gallery 2 import, the file path to Gallery2 was already there. In the Import window it said: It looks like you've imported the following Gallery 2 data already:...
Anyway, I clicked on Begin import. The import started but stopped with this error:
@todo G2_FUNCTION_FAILED
Here is the error log:
It looks like you've imported the following Gallery 2 data already:
Task Import from Gallery 2 started (task id 17)
Group 'Admin' does not exist in Gallery 3, skipping
User with id: 5 already imported, skipping
User with id: 6 already imported, skipping
User with id: 14 already imported, skipping
User with id: 15 already imported, skipping
User with id: 16 already imported, skipping
exception 'Exception' with message '@todo G2_FUNCTION_FAILED' in /home/cambodia/public_html/gallery3/modules/g2_import/helpers/g2_import.php:1368
Stack trace:
#0 /home/cambodia/public_html/gallery3/modules/multilang3/helpers/MY_g2_import.php(57): g2(Array)
#1 /home/cambodia/public_html/gallery3/modules/multilang3/helpers/MY_g2_import.php(47): g2_import::g2_multilang_import(7, '1')
#2 /home/cambodia/public_html/gallery3/modules/g2_import/helpers/g2_import_task.php(137): g2_import::import_album(Array)
#3 [internal function]: g2_import_task_Core::import(Object(Task_Model))
#4 /home/cambodia/public_html/gallery3/modules/gallery/helpers/task.php(90): call_user_func_array('g2_import_task:...', Array)
#5 /home/cambodia/public_html/gallery3/modules/gallery/controllers/admin_maintenance.php(195): task_Core::run('17')
#6 [internal function]: Admin_Maintenance_Controller->run('17')
#7 /home/cambodia/public_html/gallery3/modules/gallery/controllers/admin.php(62): call_user_func_array(Array, Array)
#8 [internal function]: Admin_Controller->__call('maintenance', Array)
#9 /home/cambodia/public_html/gallery3/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Admin_Controller), Array)
#10 [internal function]: Kohana_Core::instance(NULL)
#11 /home/cambodia/public_html/gallery3/system/core/Event.php(208): call_user_func_array(Array, Array)
#12 /home/cambodia/public_html/gallery3/application/Bootstrap.php(67): Event_Core::run('system.execute')
#13 /home/cambodia/public_html/gallery3/index.php(116): require('/home/cambodia/...')
#14 {main}
DamienA
Joined: 2003-05-25
Posts: 203
Posted: Mon, 2013-04-15 08:39
I solved the import problem by changing the name of the module from multilang3 to multilang.
DamienA
Joined: 2003-05-25
Posts: 203
Posted: Mon, 2013-04-15 09:05
To get the module "working" I had to change the name of the module folder on my server from multilang3 to multilang.
I discovered that with the folder renamed multilang would appear in the sidebar but:
1/ There is no contextual menu (multilang edit) that I can click on for each picture.
2/ The sidebar appears but the flag icons do not show up
If I change the name back to multilang3 the sidebar disappears.
So there seems to be an issue with paths, in my situation...
Posts: 137
SoosKriszta, that's not my list anymore as there much more high pri stuff that I need to do and I am finding difficult to accommodate those.
--------------------------------------------------------------------------------
my wings of love - work, experince, learnings, open source, technologies on my way to God
Posts: 10
Hi gopu,
I sent you login access to my gallery at http://gallery.kbb1.com/index.php/arvut
Thank you for help
Dogen
Posts: 137
hi Dogen,
I could not reproduce any problem.
Please note that, had to change it to default theme to try out for my own convenience. Please revert back to your preferred theme.
One thing that you should note here that unless you add multilingual entry for parent, there is no point in adding entry for child items.
I have seen that happening with gallery.
If you can reproduce it again, please mention step by step that can be reproduced with default theme.
If it works for you then we will know that module and theme are not compatible to each other.
-gopu
--------------------------------------------------------------------------------
my wings of love - work, experince, learnings, open source, technologies on my way to God
Posts: 10
Hi gopu,
I'll try steb-by-step description:
1. Set GreyDragon theme (If you are using GreyDragon theme you'll see the exception)
2. Go to http://gallery.kbb1.com/index.php/arvut
3. You'll see some of thumbs displayed as "empty" images and some displayed normal. The "Empty" images are images where multilanguage was added.
4. Go to http://gallery.kbb1.com/var/thumbs/arvut/photo_norav_arvut_2011-08-16_shulhan-agol_abitton_n016.jpg?m=1324957669 (URL of first thumb in the page)
5. You'll see "big" image that empty
6. Click on "big" picture -> If you are using GreyDragon theme you'll see the exception, in other cases it still displays "empty" image.
P.S: Disabling multilanguage plugin causes all the thumbs in http://gallery.kbb1.com/index.php/arvut be displayed normally.
Thank you!
Dogen
Posts: 137
Hello Dogen,
I have noticed that this happens only when no language is selected in language bar.
Did you change the default language recently?
-gopu
--------------------------------------------------------------------------------
my wings of love - work, experince, learnings, open source, technologies on my way to God
Posts: 10
Hello gopu,
I never set language prefernce for my user before.
I selected default language now and it worked for me. Thank you!
But still looks like there is a bug somewhere.
Where do you think may be the problem?
Dogen
Posts: 137
Dogen,
What you changed is user preference language (through the drop down)
As an admin one can set the Default Language. See in settings.
If you have imported from Gallery2 to Gallery3... it's important that the the Default language in both the case are same.
In your current Gallery3, the default lang is English.
In your case possibly
Either you have different default language in Gallery 2 than Gallery 3
Or you have changed the Default language in between.
During the installation of multilang module you might have observed that there is warning that Default Language should not be changed.
-gopu
--------------------------------------------------------------------------------
my wings of love - work, experince, learnings, open source, technologies on my way to God
Posts: 10
Great,
Thank you for help!
Dogen
Posts: 24
Hello Gopu.
I accidently switched off Multilang module and cannot swich it back on. Can you help what modules required to install correctly?
Default language was and is Ru, additional is En-UK.
http:\\photo.marktim.ru
Posts: 24
hello Gupu!
That is gallery log fragment:
2012-04-02 16:34:23 +04:00 --- error: exception 'Exception' with message '@todo MODULE_FAILED_TO_UPGRADE' in /home/virtwww/w_marktim-ru_e2ca2ae3/http/photo/modules/gallery/helpers/module.php:243 Stack trace: #0 /home/virtwww/w_marktim-ru_e2ca2ae3/http/photo/modules/gallery/controllers/admin_modules.php(92): module_Core::upgrade('multilang3') #1 /home/virtwww/w_marktim-ru_e2ca2ae3/http/photo/modules/gallery/controllers/admin_modules.php(54): Admin_Modules_Controller->_do_save() #2 /home/virtwww/w_marktim-ru_e2ca2ae3/http/photo/modules/gallery/controllers/admin.php(62): Admin_Modules_Controller->confirm() #3 [internal function]: Admin_Controller->__call(Array, Array) #4 /home/virtwww/w_marktim-ru_e2ca2ae3/http/photo/system/core/Kohana.php(331): ReflectionMethod->invokeArgs('modules', Array) #5 /home/virtwww/w_marktim-ru_e2ca2ae3/http/photo/system/core/Event.php(208): Kohana_Core::instance(Object(Admin_Controller), Array) #6 /home/virtwww/w_marktim-ru_e2ca2ae3/http/photo/application/Bootstrap.php(67): Event_Core::run(NULL) #7 /home/virtwww/w_marktim-ru_e2ca2ae3/http/photo/index.php(102): require('/home/virtwww/w...') #8 {main}
http://photo.marktim.ru
Posts: 137
I would need your g3 admin credential to do it
-gopu
--------------------------------------------------------------------------------
my wings of love - work, experince, learnings, open source, technologies on my way to God
Posts: 24
I send you private message thru this board
http://photo.marktim.ru
Posts: 4
hello.
firstly, thanks for such useful idea.
secondly: i know everybody is using this module without any problem.
but for me: when i activate the module, all the gallery goes BOOM! nothing works, no page opens, even admin pages and all addresses become just blank pages. i checked pages code using firefox, but codes are blank too and contain nothing. the only solution to make everything work is to delete module folder using ftp access.
is this my wrong or something else?
thanks.
Posts: 137
diapason, what's the gallery version are you using?
do you have TAG module enabled?
--------------------------------------------------------------------------------
my wings of love - work, experince, learnings, open source, technologies on my way to God
Posts: 4
hello gopu.
thanks for reply.
i am using Gallery 3.0.2 and yes. Tag module is enabled.
all the problem starts over after copying multilang3.2.3.
also i installed fresh copy of gallery on a test subdomain. and installed this module just after that. but problem exists!
Posts: 137
The TAG module should be enabled ...
Can you send the log files ? I think its under var/log folder
--------------------------------------------------------------------------------
my wings of love - work, experince, learnings, open source, technologies on my way to God
Posts: 4
you can download all the log at: http://gallery.shamshirian.ir/log.zip
the file: 2012-03-23.log.php contains something about this module.
Posts: 137
@diapason, first you need to ensure that you have enough data size limit for your DB. Check whether you have already met the DB max limit.
If you have checked and sure that its within the max limit (allowed by your hosting company) then
for further diagnose I need gallery admin access
too can do it... try activating/deactivating TAG related modules.
--------------------------------------------------------------------------------
my wings of love - work, experince, learnings, open source, technologies on my way to God
Posts: 4
hello gopu.
i tested it, but
and no problem with database size limit. the gallery is new and database is not so huge. it's just 7mb.
if you have time (just if you have) username and passwords to anywhere needed is PMed.
Posts: 31
hi, i have a problem i can't see the tag field in the multilanguage form.....anybody have somes suggestions
Posts: 137
It seems you have not installed the latest version.
Please install it from here: http://gallery.menalto.com/files/multilang3_4.0.zip
--------------------------------------------------------------------------------
my wings of love - work, experince, learnings, open source, technologies on my way to God
Posts: 31
thanks but i try yo install the latest version but i receve an error
Posts: 137
How did you install the new version? did you do a upgrade?
--------------------------------------------------------------------------------
my wings of love - work, experince, learnings, open source, technologies on my way to God
Posts: 31
no, I have cancelled the old module and i'm trying to install the new one.
Posts: 137
in such case you need ensure that the old multilang first needs to be deactivated and then deleted which will uninstall the old multilang.
if you dont do that the new installation will not work as the old tables are still there.
--------------------------------------------------------------------------------
my wings of love - work, experince, learnings, open source, technologies on my way to God
Posts: 31
i delete the old table in my database but i don't remember if i deactivated and then delete the module. i have encore the same problem how i can install the module? where i can see if there are other parts of the old multilanguage?
thanks
Posts: 137
Uninstall does the following things.
Make sure these are done.
--------------------------------------------------------------------------------
my wings of love - work, experince, learnings, open source, technologies on my way to God
Posts: 31
I don't believe to have understood..... what should I do with what you have written me? thanks for the help!
Posts: 137
Since you could delete the multilang_items table, i assume you know how to run SQL query:
Run following SQL query in your Gallery3 DB:
replace {multilang_items} and {tags} with tags and multilang_items table name in your Gallery3 DB.
Its generally preceded with <g3_prefix>, whatever prefix you would have chosen during the installation.
Posts: 31
no i can't install the module..... i don't know how i can do........
Posts: 137
if you provide me the admin access to your site, i can look into it.
Posts: 31
but i'm working in local whit easy php we can do a remote connection with teamviewer?
Posts: 137
lets take it offline... PM with your Gallery3 logs
The logs are present in var/logs
--------------------------------------------------------------------------------
my wings of love - work, experince, learnings, open source, technologies on my way to God
Posts: 31
i'm sorry but i need to have more explication about what i must do
i must going into the folder var/logs of gallery menalto?
and after?
thank you very much!
Posts: 137
You need to send me the logs file present in var/logs folder of your gallery3 installation.
Goto your folder where you have installed gallery3.
- Look for subfolder var.
- Under var, look for subfolder logs
- Zip these files and send it to me
This will give me an indication to what's going wrong in your setup.
Posts: 31
ok but you can give me an email? i can't send the zip file trought the site
Posts: 31
hey gopu you have understand because i can't install your module?
Posts: 1
Hi Gopu,
Can you please explain how to enable multilang sidebar?
I am having issues uploading with it disabled...
Posts: 137
Goto Appearance->Manage Sidebar
and then choose "Localized Sidebar" by dragging it to right
Posts: 1
Hi!
Thank you all for the information provided, the truth has been very useful and much more useful the module.
I love that we can share important information ;)
Posts: 137
i am glad that it has been useful
Posts: 4
Hello,
first big thanks for that module!! I have a question: does the multilanguage module support the "static pages" module and the tag cloud module? If yes, how do it edit the entries?
And where do i find the edit for the default gallery tags? Thank you!!!
Kind regards,
SilentHunter
________________________
Vault 114 - Urban Exploration
Posts: 10
hello, thank you für the module - i have a small bug, if i translate the album, the new paths are not saved consequently, first they work, at second click the path is changed to the root url. i noticed, that the value is deleted in the db... can u help here?
Posts: 203
Hello, Thank you for this module. I just installed it on Gallery 3.0.6
I checked that it installed, went to admin/Gallery 2 import, the file path to Gallery2 was already there. In the Import window it said: It looks like you've imported the following Gallery 2 data already:...
Anyway, I clicked on Begin import. The import started but stopped with this error:
@todo G2_FUNCTION_FAILED
Here is the error log:
It looks like you've imported the following Gallery 2 data already:
Task Import from Gallery 2 started (task id 17)
Group 'Admin' does not exist in Gallery 3, skipping
User with id: 5 already imported, skipping
User with id: 6 already imported, skipping
User with id: 14 already imported, skipping
User with id: 15 already imported, skipping
User with id: 16 already imported, skipping
exception 'Exception' with message '@todo G2_FUNCTION_FAILED' in /home/cambodia/public_html/gallery3/modules/g2_import/helpers/g2_import.php:1368
Stack trace:
#0 /home/cambodia/public_html/gallery3/modules/multilang3/helpers/MY_g2_import.php(57): g2(Array)
#1 /home/cambodia/public_html/gallery3/modules/multilang3/helpers/MY_g2_import.php(47): g2_import::g2_multilang_import(7, '1')
#2 /home/cambodia/public_html/gallery3/modules/g2_import/helpers/g2_import_task.php(137): g2_import::import_album(Array)
#3 [internal function]: g2_import_task_Core::import(Object(Task_Model))
#4 /home/cambodia/public_html/gallery3/modules/gallery/helpers/task.php(90): call_user_func_array('g2_import_task:...', Array)
#5 /home/cambodia/public_html/gallery3/modules/gallery/controllers/admin_maintenance.php(195): task_Core::run('17')
#6 [internal function]: Admin_Maintenance_Controller->run('17')
#7 /home/cambodia/public_html/gallery3/modules/gallery/controllers/admin.php(62): call_user_func_array(Array, Array)
#8 [internal function]: Admin_Controller->__call('maintenance', Array)
#9 /home/cambodia/public_html/gallery3/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Admin_Controller), Array)
#10 [internal function]: Kohana_Core::instance(NULL)
#11 /home/cambodia/public_html/gallery3/system/core/Event.php(208): call_user_func_array(Array, Array)
#12 /home/cambodia/public_html/gallery3/application/Bootstrap.php(67): Event_Core::run('system.execute')
#13 /home/cambodia/public_html/gallery3/index.php(116): require('/home/cambodia/...')
#14 {main}
Posts: 203
I solved the import problem by changing the name of the module from multilang3 to multilang.
Posts: 203
To get the module "working" I had to change the name of the module folder on my server from multilang3 to multilang.
I discovered that with the folder renamed multilang would appear in the sidebar but:
1/ There is no contextual menu (multilang edit) that I can click on for each picture.
2/ The sidebar appears but the flag icons do not show up
If I change the name back to multilang3 the sidebar disappears.
So there seems to be an issue with paths, in my situation...
Anyone have any ideas?