[SOLVED] Git version broken

dreamkiller

Joined: 2008-01-28
Posts: 46
Posted: Mon, 2009-09-28 07:30

Hi, there is a problem with the version in the Git repository

During the update:

So here's the error:
There was an SQL error: Table 'gallery3.g3_graphics_rules' doesn't exist - update g3_graphics_rules g set operation=concat("gallery_graphics::", g.operation);

File: system/libraries/drivers/Database/Mysqli.php, line: 142
And here's how we got there:

* system/libraries/drivers/Database/Mysqli.php [90]:

Kohana_Mysqli_Result->__construct( mysqli Object
(
)
, 1, update g3_graphics_rules g
set operation=concat("gallery_graphics::", g.operation); )

* system/libraries/Database.php [259]:

Database_Mysqli_Driver->query( update g3_graphics_rules g
set operation=concat("gallery_graphics::", g.operation); )

* modules/gallery/libraries/MY_Database.php [56]:

Database_Core->query( update g3_graphics_rules g
set operation=concat("gallery_graphics::", g.operation); )

* modules/gallery/helpers/gallery_installer.php [381]:

Database->query( update g3_graphics_rules g
set operation=concat("gallery_graphics::", g.operation); )

*

gallery_installer::upgrade( 13 )

* modules/gallery/helpers/module.php [149]:

call_user_func_array( Array
(
[0] => gallery_installer
[1] => upgrade
)
, Array
(
[0] => 13
)
)

* modules/gallery/controllers/upgrader.php [60]:

module_Core::upgrade( gallery )

*

Upgrader_Controller->upgrade( )

* system/core/Kohana.php [291]:

ReflectionMethod->invokeArgs( Upgrader_Controller Object
(
[uri] => URI Object
(
)

[input] => Input Object
(
[use_xss_clean:protected] => 1
[magic_quotes_gpc:protected] =>
[ip_address] =>
)

)
)

*

Kohana::instance( )

* system/core/Event.php [209]:

call_user_func( Array
(
[0] => Kohana
[1] => instance
)
)

* system/core/Bootstrap.php [55]:

Event::run( system.execute )

* index.php [86]:

require( system/core/Bootstrap.php

Have a nice day

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Mon, 2009-09-28 08:24

Looks like there's an issue with Github possibly right now. I got a warning the flashed by on the screen (sorry using a pretty restricted console right now and can't view it)

Then immediately after git pull I ran another git pull and get this:

Quote:
error: object directory /data/git/repositories/2/27/67/cc/gallery/gallery3.git/objects does not exist; check .git/objects/info/alternates.

That /data/.... directory is not a directory on my file system, so I don't know where that's coming from, I can only assume Github.

Ugh, and now I have a chite load of white space between rows. <-- Different issue

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
DocFraggle

Joined: 2008-08-17
Posts: 23
Posted: Mon, 2009-09-28 11:33

Same problem here... upgrade from version 12 to 14, error message

Quote:
There was an SQL error: Table 'gallery3.g3_graphics_rules' doesn't exist - update g3_graphics_rules g set operation=concat("gallery_graphics::", g.operation);

File: system/libraries/drivers/Database/Mysqli.php, line: 142

 
dreamkiller

Joined: 2008-01-28
Posts: 46
Posted: Mon, 2009-09-28 12:39

new error on updating contrib module

######################git pull module####################
fatal: The remote end hung up unexpectedly

Git pull is quite long today

edit: The error disappear

 
dreamkiller

Joined: 2008-01-28
Posts: 46
Posted: Thu, 2009-10-01 12:51

just an error of my part