Restaurando el blog con post de hace 10 años

Después de casi 10 años en funcionamiento, a principios de este 2016 se me cayó la página web, y por muchas situaciones no me di el tiempo de volver a levantar el sitio, por lo que después de casi 9 meses fuera de línea, vuelvo a montar el blog de OaxRom.

Aunque esto no fue tan fácil, ya que hace 10 años el blog estuvo montado sobre un Jaws-Project muy básico, y ahora intentando montar la última versión, es completamente diferente su funcionalidad y esquema de base de datos, por lo que me tomó unas líneas de código adicionales poder incorporar la información de hace tiempo con la nueva versión de Jaws.

Para importar la información, básicamente tuve que pasar las tablas jaws_blog_category, jaws_blog_entrycat y jaws_blog. No importe más información como comentario, vistas, etc.

La importación de los posts lo hice a tráves del siguiente script:
$oaxrom  = mysql_connect("localhost", "user", "password");
 mysql_select_db("blogDB", $oaxrom);
$temp  = mysql_connect("localhost", "user", "password", true);
mysql_select_db("antiguoBlog", $temp);
$mysql = "select * from jaws_blog; ";
$_result = mysql_query($mysql, $temp);
while($_info = mysql_fetch_array($_result)){
     foreach(array_keys($_info) as $field ){
     $query = "insert into jaws_blog(id,user_id,title,summary,text,image,comments,clicks,allow_comments,trackbacks,fast_url,meta_keywords,meta_description,categories,published,publishtime,createtime,updatetime)
                    values( \"$_info[id]\",\"$_info[user_id]\",\"$_info[title]\",\"$_info[summary]\",\"$_info[text]\",\"$_info[image]\",\"$_info[comments]\",\"$_info[clicks]\",\"$_info[allow_comments]\",\"$_info[trackbacks]\",\"$_info[fast_url]\",\"$_info[meta_keywords]\",\"$_info[meta_description]\",\"$_info[categories]\",\"$_info[published]\",\"$_info[publishtime]\",\"$_info[createtime]\",\"$_info[updatetime]\"); "
    $error = mysql_query($query, $oaxrom);
        echo $post++.":::$error\n";

Al subir la información, accediendo como anónimo al blog, no podía ver la información. El sistema de ACL de Jaws-project es muy confuso en sus nuevas versiones, por lo que decidí ir directamente al código y eliminar la validación de sesiones para que los posts fueran públicos y pudieran ser vistos de forma anónima.

Para esto tuve que modificar los archivos:
I need to express that this post is, obviously puzzling made and continued running with everything considered each central dat. I'd get a kick out of the chance to look more posts in this way.
[ Reply ]

Dumbfounding post !! I genuinely support to withdrawing your post. Grateful to you a ton for setting aside the ideal open way for you to share such an imperative information.
[ Reply ]

We are the destination of your assignment help search. Get help by the group of best writers and experts from University College Singapore and score high in your academics.
[ Reply ]

Such a valuable post,i truly get a kick out of the chance to visit here,i cheerful to get these stuff through online platform.The Internet has made different exchanges conceivable without the requirement for genuine eye to eye correspondence, offering ascend to different organizations, most quite web based business and online aide administrations. While the previous goes about as online shops that offers different items, the last gives administrations directed by an online associate capable at the task.So it will be very helpful for getting an any sort of help.
[ Reply ]

Why are we, as shoppers, so charmed by stories of extraordinary client benefit? Maybe this is on account of they fill in as a genuinely necessary update that there are still organizations out there who think about their clients.
[ Reply ]

I am astoundingly light to be on this site. Thankful for the quality site
[ Reply ]

Looking for has any sort of impact since it grants you to peer facilitate inside your substance, be that as it may it is greatly typical yet it may help you to take in a couple of insider certainties of forming substance.
[ Reply ]

We offers exceptional quality of Academic assignment writing service, trained assignment expert from diverse academic backgrounds, and provides help to University and PhD Level students in general, management, engineering, programming, nursing, law and many more, unmatched quality assignments.
[ Reply ]

You should hire an Expert Writers of Singapore to get online assignment help from them. You can easily get excellent Assignment Help Services in singapore and distribute all your academic work on time.
[ Reply ]

It is totally abnormal esteem and database mapping, so I take a few additional lines of framework can consolidate information.
[ Reply ]

Previous page 1 ... 3 4 5 ... 14 Next page


Comment XML feeds: RSS | Atom