Seleccionar idioma:
Realizar Donación - Mods Premium - Portfolio



Este sitio utiliza cookies propias y de terceros. Si continúa navegando consideramos que acepta el uso de cookies. OK Más Información.
* Empty default blocks after install
  Leído 1062 veces
* Viendo el foro
 0 Usuarios y 1 Visitante están viendo este foro.


*
Jul 07 2012


I've had a very troubled install with ADK Portal 2.1.1 on SMF 2.0.2.  I'll explain what I've done in order and the trouble I am having:

1) I uploaded all the files per the instructions and completed all the file edits.

2) ran db_install_adkportal.php and received several errors.  I figured I made a mistake with the file edits so removed all the files and repeated #1 above.

3) ran db_install_adkportal.php again and it finished just fine.

4) Viewed the Portal Page and noticed all the default blocks were duplicated.  db_install_adkportal.php must have actually created and populated the tables the first time I ran it and created duplicate records the second time.

5) From the Portal Admin, I deleted the extra blocks

6) Now all the default blocks display correctly, but they are all empty (example image below)

7) I viewed the table adk_blocks and noticed the ID numbers are not in order.  I assume I deleted some of the original block records that the application might be looking for.

8 ) Decided to delete all tables and re-run db_install_adkportal.php to reset the original id numbers

9) Encountered an error that a table doesn't exists.  Apparently db_install_adkportal.php thinks the tables already exists and skips the table crreation and returns an error trying to insert data.

10) So, I manually created each table using db_install_adkportal.php as a guide.

11) Ran db_install_adkportal.php again.  It inserted values, but returned these errors (from the log file):
Código: [Seleccionar]
[07-Jul-2012 09:45:19] PHP Notice:  Undefined index: adk_enable in /home/coltsdig/public_html/armoredkill/Sources/Subs-adkfunction.php on line 2027
[07-Jul-2012 09:45:19] PHP Notice:  Undefined index: adk_enable in /home/coltsdig/public_html/armoredkill/Sources/Subs-adkfunction.php on line 2040
[07-Jul-2012 09:45:19] PHP Notice:  Undefined index: download_enable in /home/coltsdig/public_html/armoredkill/Sources/Subs-adkfunction.php on line 2048
[07-Jul-2012 09:45:19] PHP Notice:  Undefined index: adk_enable in /home/coltsdig/public_html/armoredkill/Sources/Subs.php on line 4132
[07-Jul-2012 09:45:19] PHP Notice:  Undefined index: adk_enable in /home/coltsdig/public_html/armoredkill/Sources/Subs.php on line 4140

12) Viewed the portal again and the blocks display but they are empty again.

13) Tried inserting a new block using "Top Poster" and "PHP" and both worked fine and display correctly. 

See image here:
*


my adk_blocks table:
*


All the permissions for each block are set as viewable to everyone.  I have no other mods installed for SMF.  Keep in mind they displayed correctly initially, it was just after I deleted the duplicates that I ran into a problem.

Thanks for any help!!



ADKPortal
2.0.2
www.google.com

Mensajes: 2

Ver Perfil 

En línea

*
Jul 09 2012


Look at this... if you have duplicate blocks and you delete some one... you need reupload that block to adkportal/blocks...

ADK Portal 3.0.2
2.0.11
www.smfpersonal.net
#1

Mensajes: 8631

Ver Perfil  SMFPersonal 

En línea

*
Jul 09 2012


Look at this... if you have duplicate blocks and you delete some one... you need reupload that block to adkportal/blocks...

Ah!  Thanks.  I didn't realize that deleting a block in the admin section actually deleted the block file itself.

Good to go now, thanks!!

ADKPortal
2.0.2
www.google.com
#2

Mensajes: 2

Ver Perfil 

En línea




Otros temas de su interes

Empty default blocks after install GSMACK Julio 07, 2012, 12:01:15 pm *
Collapsed Block by default skaazi Septiembre 21, 2012, 11:16:35 am *
No Left Block in Forum Area kepipro Noviembre 04, 2012, 07:32:53 pm
Bug with caracters é è ù etc xavier29 Septiembre 30, 2011, 06:21:14 am *
How to install Hondo Abril 13, 2012, 06:02:25 am *
shoutbox aint working dexter Noviembre 18, 2011, 05:10:49 pm *



Usuario:
Contraseña:
Sesión:
hermes bracelet replica, christian louboutin replica, van cleef and arpels replica, red bottoms replica, cartier love bracelet replica christian louboutin replica, christian louboutin replica, hermes bracelet replica,