DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 20th April 2009
Nk2Network Nk2Network is offline
Port Guard
 
Join Date: Jan 2009
Posts: 43
Thanked 0 Times in 0 Posts
Default phpMyAdmin Unaccessable

Hello,

I find myself facing a series of problems that I can not solve, in fact when I try to access phpmyadmin I mark it message Unable to access phpMyAdmin.

I would like to know why in the message it displays special characters ?

Code:
phpMyAdmin - Erreur
Erreur lors du dé*¡rrage de la session, veuillez v鲩fier les erreurs indiqu饳 par PHP ou dans le fichier té*¯in du serveur web, et configurer PHP correctement.
translation of error message in English

Code:
check for errors indicate by PHP or your web server PHP and configure properly.
installed from pkg_add, it was installed in the default location. (var/www/ phpMyAdmin),I copied my file in the phpmyadmin directory htdocs with the following command ln -s ../phpMyAdmin /var/www/htdocs/phpMyAdmin

I also type the following command for more information on my phpmyadmin

Code:
# pkg_info -M phpMyAdmin
Information for inst:phpMyAdmin-2.11.7.1

Install notice:
The phpMyAdmin has been installed into /var/www/phpMyAdmin

You should point this to the DocumentRoot of your web-server:
   # ln -s ../phpMyAdmin /var/www/htdocs/phpMyAdmin
(make sure you use a relative symlink since Apache is chrooted)

You can ensure you have a working install by accessing:
http://<localhost>/phpMyAdmin/index.php

the commande ls -l /var/www/htdocs/phpMyAdmin

Code:
# ls -l /var/www/htdocs/phpMyAdmin
total 2760
-rwxr-xr-x   1 root  daemon     169 Jul 15  2008 CREDITS
-rwxr-xr-x   1 root  daemon   28997 Jul 15  2008 ChangeLog
-rwxr-xr-x   1 root  daemon  221884 Jul 15  2008 Documentation.html
-rwxr-xr-x   1 root  daemon  156749 Jul 15  2008 Documentation.txt
-rwxr-xr-x   1 root  daemon     179 Jul 15  2008 INSTALL
-rwxr-xr-x   1 root  daemon   18011 Jul 15  2008 LICENSE
-rwxr-xr-x   1 root  daemon    2636 Jul 15  2008 README
-rwxr-xr-x   1 root  daemon      29 Jul 15  2008 RELEASE-DATE-2.11.7.1
-rwxr-xr-x   1 root  daemon     235 Jul 15  2008 TODO
-rwxr-xr-x   1 root  daemon   10873 Jul 15  2008 browse_foreigners.php
-rwxr-xr-x   1 root  daemon     758 Jul 15  2008 calendar.php
-rwxr-xr-x   1 root  daemon    3459 Jul 15  2008 changelog.php
-rwxr-xr-x   1 root  daemon     460 Jul 15  2008 chk_rel.php
-rwxr-xr-x   1 root  daemon    1752 Apr 20 12:44 config.inc.php
-rwxr-xr-x   1 root  daemon    1751 Jul 15  2008 config.sample.inc.php
drwxr-xr-x   3 root  daemon     512 Apr 19 15:07 contrib
-rwxr-xr-x   1 root  daemon    1470 Jul 15  2008 db_create.php
-rwxr-xr-x   1 root  daemon   10681 Jul 15  2008 db_datadict.php
-rwxr-xr-x   1 root  daemon    2475 Jul 15  2008 db_export.php
-rwxr-xr-x   1 root  daemon     471 Jul 15  2008 db_import.php
-rwxr-xr-x   1 root  daemon   19871 Jul 15  2008 db_operations.php
-rwxr-xr-x   1 root  daemon    7422 Jul 15  2008 db_printview.php
-rwxr-xr-x   1 root  daemon   34751 Jul 15  2008 db_qbe.php
-rwxr-xr-x   1 root  daemon   13999 Jul 15  2008 db_search.php
-rwxr-xr-x   1 root  daemon     999 Jul 15  2008 db_sql.php
-rwxr-xr-x   1 root  daemon   22432 Jul 15  2008 db_structure.php
-rwxr-xr-x   1 root  daemon    4583 Jul 15  2008 docs.css
-rwxr-xr-x   1 root  daemon    2167 Jul 15  2008 error.php
-rwxr-xr-x   1 root  daemon   24556 Jul 15  2008 export.php
-rwxr-xr-x   1 root  daemon   18902 Jul 15  2008 favicon.ico
-rwxr-xr-x   1 root  daemon   13934 Jul 15  2008 import.php
-rwxr-xr-x   1 root  daemon    6586 Jul 15  2008 index.php
drwxr-xr-x   2 root  daemon     512 Apr 19 15:07 js
drwxr-xr-x   2 root  daemon    4608 Apr 19 15:07 lang
drwxr-xr-x  10 root  daemon    3072 Apr 19 15:07 libraries
-rwxr-xr-x   1 root  daemon     411 Jul 15  2008 license.php
-rwxr-xr-x   1 root  daemon   15889 Jul 15  2008 main.php
-rwxr-xr-x   1 root  daemon   25556 Jul 15  2008 navigation.php
-rwxr-xr-x   1 root  daemon   27182 Jul 15  2008 pdf_pages.php
-rwxr-xr-x   1 root  daemon   52735 Jul 15  2008 pdf_schema.php
-rwxr-xr-x   1 root  daemon     360 Jul 15  2008 phpinfo.php
-rwxr-xr-x   1 root  daemon   16531 Jul 15  2008 phpmyadmin.css.php
drwxr-xr-x   5 root  daemon     512 Apr 19 15:07 pmd
-rwxr-xr-x   1 root  daemon   11227 Jul 15  2008 pmd_common.php
-rwxr-xr-x   1 root  daemon    1917 Jul 15  2008 pmd_display_field.php
-rwxr-xr-x   1 root  daemon   18486 Jul 15  2008 pmd_general.php
-rwxr-xr-x   1 root  daemon     880 Jul 15  2008 pmd_help.php
-rwxr-xr-x   1 root  daemon    3398 Jul 15  2008 pmd_pdf.php
-rwxr-xr-x   1 root  daemon    3942 Jul 15  2008 pmd_relation_new.php
-rwxr-xr-x   1 root  daemon    1901 Jul 15  2008 pmd_relation_upd.php
-rwxr-xr-x   1 root  daemon    2248 Jul 15  2008 pmd_save_pos.php
-rwxr-xr-x   1 root  daemon    1063 Jul 15  2008 print.css
-rwxr-xr-x   1 root  daemon    9751 Jul 15  2008 querywindow.php
-rwxr-xr-x   1 root  daemon     403 Jul 15  2008 readme.php
drwxr-xr-x   2 root  daemon     512 Apr 19 15:07 scripts
-rwxr-xr-x   1 root  daemon    7653 Jul 15  2008 server_binlog.php
-rwxr-xr-x   1 root  daemon    2784 Jul 15  2008 server_collations.php
-rwxr-xr-x   1 root  daemon   13284 Jul 15  2008 server_databases.php
-rwxr-xr-x   1 root  daemon    4917 Jul 15  2008 server_engines.php
-rwxr-xr-x   1 root  daemon    1639 Jul 15  2008 server_export.php
-rwxr-xr-x   1 root  daemon     486 Jul 15  2008 server_import.php
-rwxr-xr-x   1 root  daemon  110708 Jul 15  2008 server_privileges.php
-rwxr-xr-x   1 root  daemon    2869 Jul 15  2008 server_processlist.php
-rwxr-xr-x   1 root  daemon     581 Jul 15  2008 server_sql.php
-rwxr-xr-x   1 root  daemon   20731 Jul 15  2008 server_status.php
-rwxr-xr-x   1 root  daemon    2462 Jul 15  2008 server_variables.php
-rwxr-xr-x   1 root  daemon     317 Jul 15  2008 show_config_errors.php
-rwxr-xr-x   1 root  daemon   29485 Jul 15  2008 sql.php
-rwxr-xr-x   1 root  daemon    9097 Jul 15  2008 tbl_addfield.php
-rwxr-xr-x   1 root  daemon    9463 Jul 15  2008 tbl_alter.php
-rwxr-xr-x   1 root  daemon   46318 Jul 15  2008 tbl_change.php
-rwxr-xr-x   1 root  daemon    9322 Jul 15  2008 tbl_create.php
-rwxr-xr-x   1 root  daemon    2594 Jul 15  2008 tbl_export.php
-rwxr-xr-x   1 root  daemon     635 Jul 15  2008 tbl_import.php
-rwxr-xr-x   1 root  daemon   15997 Jul 15  2008 tbl_indexes.php
-rwxr-xr-x   1 root  daemon    2186 Jul 15  2008 tbl_move_copy.php
-rwxr-xr-x   1 root  daemon   19804 Jul 15  2008 tbl_operations.php
-rwxr-xr-x   1 root  daemon   18270 Jul 15  2008 tbl_printview.php
-rwxr-xr-x   1 root  daemon   24309 Jul 15  2008 tbl_relation.php
-rwxr-xr-x   1 root  daemon   12626 Jul 15  2008 tbl_replace.php
-rwxr-xr-x   1 root  daemon    4423 Jul 15  2008 tbl_row_action.php
-rwxr-xr-x   1 root  daemon   17905 Jul 15  2008 tbl_select.php
-rwxr-xr-x   1 root  daemon     939 Jul 15  2008 tbl_sql.php
-rwxr-xr-x   1 root  daemon   34404 Jul 15  2008 tbl_structure.php
drwxr-xr-x   2 root  daemon     512 Apr 19 15:07 test
drwxr-xr-x   4 root  daemon     512 Apr 19 15:07 themes
-rwxr-xr-x   1 root  daemon    1096 Jul 15  2008 themes.php
-rwxr-xr-x   1 root  daemon    1752 Jul 15  2008 transformation_overview.php
-rwxr-xr-x   1 root  daemon    4068 Jul 15  2008 transformation_wrapper.php
-rwxr-xr-x   1 root  daemon    8209 Jul 15  2008 translators.html
-rwxr-xr-x   1 root  daemon    3573 Jul 15  2008 user_password.php
-rwxr-xr-x   1 root  daemon    4200 Jul 15  2008 view_create.php
#
Reply With Quote
  #2   (View Single Post)  
Old 20th April 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,719
Thanked 214 Times in 189 Posts
Default

Are you still using Apache 2 (the apache-httpd package)? If so, you must adapt all of the instructions you are trying to follow. The instructions for all other packages are for the built-in Apache 1. (For Apache 2, the ServerRoot is typically /var/apache2, as /var/www is reserved for the built-in Apache 1. See /usr/local/share/examples/apache2.)

Did you, instead, return to Apache 1? If so, be sure to start Apache 1 with -u, per FAQ 10.16.
Reply With Quote
  #3   (View Single Post)  
Old 20th April 2009
Nk2Network Nk2Network is offline
Port Guard
 
Join Date: Jan 2009
Posts: 43
Thanked 0 Times in 0 Posts
Default

Good evening,

I almost managed to solve my problem, there is still some small things to tweak. I see there still some error message when I type url http://exemple.com/phpMyAmin/index.php it I see the following message

Code:
Erreur
You must add the file to configure a secret passphrase (blowfish_secret).
He asked me just to add in the configuration file a pass phrase secret (blowfish_secret), normally, to resolve, I edited the file phpMyAdmin/config.inc.php and modify the line :

Code:
$cfg['blowfish_secret'] = 'opebsd'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */

Chose Curious, I restart the web server: on page
http://exemple/phpMyAdmin/ I always error?
PAr against, if I select another language, while I was window Log in with username and password!

Chose Curious, I restart the web server: on page http://exemple/phpMyAdmin/index.php I see it the message

Code:
Erreur
You must add the file to configure a secret passphrase (blowfish_secret).
Chose Curious, I restart the web server: on page http://exemple/phpMyAdmin/ without index.php , alors lê j'ai bien la fenetre de Log in avec Username et PAssword! I was then the window Log in with username and password!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem phpmyadmin Nk2Network OpenBSD Packages and Ports 6 14th May 2009 08:15 PM
phpMyAdmin Unaccessable plexter OpenBSD Packages and Ports 3 16th December 2008 10:32 PM


All times are GMT. The time now is 07:53 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick