OaxRom Mobile Computing

Llévamos las comunicaciones & aplicaciones móviles de su empresa hasta la palma de su mano

Contacto

Conmutador:

01 55 4431-5035

Correo:

info@oaxrom.com

Ubicación:

CDMX, México.

fb

 

 

Emblems

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:
 
<?php
$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);
$post=0;
while($_info = mysql_fetch_array($_result)){
     foreach(array_keys($_info) as $field ){
                $_info[$field]=addslashes($_info[$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:
/var/www/html/gadgets/Blog/Actions/Default.php
/var/www/html/gadgets/Blog/Actions/Post.php
In past reviews on the same chronosequence, specialists demonstrated that contagious biomass did not increment with time since surrender, while they anticipated that parasitic biomass would increment with time since deserting.
[ Reply ]

i actually like to visit herein content to get these stuff from side to side online platform.The Internet has made various dealings possible without the require for actual face-to-face message, giving rise to various businesses, most notably e-commerce and online helper services. While the former acts as online shops that sells a variety of products, the latter provide services conduct by an online supporter adept at the task.
[ Reply ]

Looking for has any sort of impact since it licenses you to peer assist inside your substance, in any case it is to a great degree ordinary yet it may help you to take in a couple insider realities of making substance.
[ Reply ]

I fair ongoing blogging with blogger and sign my new-fangled posts go to the highest and my grownup ones break at the bottommost. Is there particular technique to modification this? I would somewhat my childhood columns to be at the highest fragment of my blog.
[ Reply ]

Very nice post. I’ve really loved browsing your post
[ Reply ]

I loved the way you discuss the topic great work thanks for the share.
[ Reply ]

This article will be entirely helpful for likely applicants who would prefer not to establish a terrible connection for organizations before experiencing the resume. Resumes are an imperative method for introducing yourself. Individuals join these resumes without giving much thought on how they ought to be composed.
[ Reply ]

I have visit read your blog and it's really awesome and well written, You should post some more blogs like this.I would love to see these kinds of well-written blogs, It would pleasure to tell you that I am working on some essay writing services which are basically for those students who are facing difficulties in essay writing, So you can visit my site by visiting the link above.
[ Reply ]

I have read your blog and it's really well written and informative.You should post some more like this, I would love to look forward to your work.I just need a favor from your side that I am providing essay writing services for the students who are facing difficulties in writing an essay at the affordable price, so you can visit my site by clicking on the link below.
[ Reply ]

Check Here Modded Apk For Android
[ Reply ]

Previous page 1 2 3 4 ... 21 Next page
202 comments

Comments

Comment XML feeds: RSS | Atom

OaxRom Mobile Computing.

¿Quienes Somos?

Horario de atención:

Lunes a Viernes

09:00 a.m. a 18:00 p.m.

Tiempo de la Ciudad de México

 

Conmutador:

01 55 4431-5035

Correo:

info@oaxrom.com

Ubicación:

CDMX, México.

Precios listados en esta página no incluyen IVA. Precios de equipos listados y cotizados están en dólares con tipo de cambio al tipo de venta del dolar del día en Bancomer.com  
fb Aviso de Privacidad