Only fill this in if you're a spammer huh? Your name :
Your email :
Your message :

Technical shit

It's shit that's technical ...... technicality may vary with your ability to be baffled by bullshit

Todo

Fix the following

PHP ( /inc/htsrv/viewfile.php ) :

// Create file object
// true is required to fetch meta data used by page
$selected_File = & new File$FileRoot->type $FileRoot->in_type_ID$pathtrue );

PHP ( skins_adm/legacy/_adminUI.class.php ) :

/**
     * Display doctype + <head>...</head> section
     */
    function disp_html_head()
    {
        global $mode$rsc_url$adminskins_path;
 
        require_css 'skins_adm/legacy/rsc/css/variation.css'TRUE'Variation' );
        require_css 'skins_adm/legacy/rsc/css/desert.css'TRUE'Desert' );
        // remove trailing "legacy" it kills the css in FF 3.0 
        require_css 'skins_adm/legacy/rsc/css/legacy.css'TRUE );

I may have opened the door, but you entered of your own free will

 
 
Gary users avatar

Posts : 420

Joined : 04/04/05

Replied on : 12/10/08 @ 04:31 pm #1

Its so obvious, sometimes you just can't see the wood for the tree's ;)

Gz

Blog-a-doodle-do :D  http://garysblog.co.uk

 
 
¥åßßå users avatar

Posts : 1110

Joined : 10/05/05

Location : 127.0.0.1

Replied on : 12/14/08 @ 02:31 pm #2

PHP ( /install/_functions_evoupgrade.php ) :

// ____________________________ 2.0: ____________________________
     
        if( $old_db_version 9406 )
        {
            echo 'Updating chapter url names... ';
            $DB->query'
                ALTER TABLE T_categories
                    ADD COLUMN cat_urlname VARCHAR(255) NOT NULL' );
     
            // TODO: dh> "cID" is not that readable, is it? Should use a function instead. Also use it for cafelog upgrade then.
            $DB->query'
          UPDATE T_categories
             SET cat_urlname = CONCAT( "cat" , cat_ID )' ); // if we use c## then you can't edit current categories
            $DB->query'
                ALTER TABLE T_categories
                    ADD UNIQUE cat_urlname ( cat_urlname )' );
            echo "OK.<br />\n";

I may have opened the door, but you entered of your own free will

 
 
¥åßßå users avatar

Posts : 1110

Joined : 10/05/05

Location : 127.0.0.1

Replied on : 12/27/08 @ 02:10 pm #3

PHP ( /inc/skins/model/_skin.class.php ) :

/**
     * Save containers
     *
     * to be called by dbinsert / dbupdate
     */
    function db_save_containers()
    {
        global $DB;
 
        if( empty$this->container_list ) )
        {
            return false;
        }
 
        $values array();
        foreach$this->container_list as $container_name )
        {
            $values [] = '( '.$this->ID.', '.$DB->quote($container_name).' )';
        }
 
        // if skin previous had more containers the extras are left behind ;)
        $DB->query'DELETE FROM T_skins__container WHERE sco_skin_ID='.$this->ID'Remove exisiting containers' );
 
        $DB->query'REPLACE INTO T_skins__container( sco_skin_ID, sco_name )
                                    VALUES '.implode','$values ), 'Insert containers' );
 
        return true;
    }

I may have opened the door, but you entered of your own free will

 
 
¥åßßå users avatar

Posts : 1110

Joined : 10/05/05

Location : 127.0.0.1

Replied on : 01/01/09 @ 04:56 pm #4

PHP ( /inc/files/model/_image.funcs.php ) :

/**
 * Load an image from a file into memory
 *
 * @param string pathname of image file
 * @param string
 * @return array resource image handle or NULL
 */
function load_image$path$mimetype )
{
    // GD library uses shedloads of memory
    @ini_set('memory_limit''256M'); // artificially inflate memory if we can

I may have opened the door, but you entered of your own free will

 
 
John users avatar

Posts : 68

Joined : 10/24/07

Replied on : 01/03/09 @ 10:15 am #5

01/01/09 @ 04:56 pm

I know it's tech shit, but that is the most unprofound New Years post I've ever read.

All the best for 2009 ¥åßßå

 
 
¥åßßå users avatar

Posts : 1110

Joined : 10/05/05

Location : 127.0.0.1

Replied on : 01/03/09 @ 04:15 pm #6

I missed New Year ?:O When did that happen!

Have a good un John ;)

¥

I may have opened the door, but you entered of your own free will

 
 

Who's Online?

  • Guests ( 8 )
 
 
 

X