Koozali.org: home of the SME Server

Phpmyadmin is breaken

Offline fredox27

  • 18
  • +0/-0
Phpmyadmin is breaken
« on: August 22, 2012, 09:40:44 AM »
Hello,

Until i install virtualbox and phpvirtualbox, my phpmyadmin is broken.

when I try to acces to the page, I have this errors :

Code: [Select]
Deprecated: Function eregi() is deprecated in /usr/share/phpmyadmin/libraries/select_lang.lib.php on line 146

Warning: Cannot modify header information - headers already sent by (output started at /usr/share/phpmyadmin/libraries/select_lang.lib.php:146) in /usr/share/phpmyadmin/libraries/core.lib.php on line 605

Warning: Cannot modify header information - headers already sent by (output started at /usr/share/phpmyadmin/libraries/select_lang.lib.php:146) in /usr/share/phpmyadmin/index.php on line 99

My PHP is in version 5.3.3.

Do you know why I've got this error ?

Thanks in advance.

Offline Jean-Philippe Pialasse

  • *
  • 2,763
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Phpmyadmin is breaken
« Reply #1 on: August 24, 2012, 04:23:56 PM »
how did you install phpmyadmin ?

Offline fredox27

  • 18
  • +0/-0
Re: Phpmyadmin is breaken
« Reply #2 on: August 27, 2012, 08:59:31 AM »
I used this method : http://wiki.contribs.org/PHPMyAdmin

And it worked fine until the update with phpvirtualbox

I think with VirtualBox PHP version is updated and has become incompatible with the package smeserver-phpmyadmin.

There are dependency problems when I try to reinstall it, but I can not solve this problem.

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Phpmyadmin is breaken
« Reply #3 on: August 27, 2012, 09:38:57 AM »
I think with VirtualBox PHP version is updated and has become incompatible with the package smeserver-phpmyadmin.

maybe, but you are not helping us to help you..
what version of php are you using?
how did you install virtualbox php?

Quote
There are dependency problems when I try to reinstall it, but I can not solve this problem.

neither us, since you are not telling us what problems you are referring to..
you are only saying "it does not work"

Offline fredox27

  • 18
  • +0/-0
Re: Phpmyadmin is breaken
« Reply #4 on: August 27, 2012, 10:45:23 AM »
maybe, but you are not helping us to help you..
what version of php are you using?
how did you install virtualbox php?
Thank you for your answer.
My php version is 5.3.3 on Linux smesrv 2.6.18-308.13.1.el5

And for virtualbox, I use this method :

http://wiki.contribs.org/VirtualBox_4.0_on_SME_Server_v8_beta_6

VirtualBox works well until point 35 of this wiki.
The VM automatic start doesn't work but it's not a problem.

And for that, i install PHP-SOAP :
Code: [Select]
yum install php-soap (see point 21 of the wiki)

neither us, since you are not telling us what problems you are referring to..
you are only saying "it does not work"

I try to give you the best information.. It's not easy. But i'll do my best.
Thank you for your help

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Phpmyadmin is breaken
« Reply #5 on: August 27, 2012, 11:51:51 AM »
There are dependency problems when I try to reinstall it, but I can not solve this problem.

ok, let's start from here..
define "dependency problems" and to do it:
- tell us what command are you using (the exact syntax)
- tell us the output (copy and paste, please)

thank you

Offline Jean-Philippe Pialasse

  • *
  • 2,763
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Phpmyadmin is breaken
« Reply #6 on: August 27, 2012, 03:55:08 PM »
for the first question
Quote
Do you know why I've got this error ?

yes this version of phpmyadmin is not supported on sme8 ( it is not compatible with php 5.3.3) , please DO NOT USE IT, in any maner to modify your database or data stored in your database. You could loose your data.

I am working on porting the last version please be patient.


Offline dante5do

  • ***
  • 72
  • +0/-0
Re: Phpmyadmin is breaken
« Reply #7 on: September 06, 2012, 01:48:05 AM »
phpmyadmin-2.11.11.3-1.el4.rf.noarch
smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch

expand-template /usr/share/phpmyadmin/config.inc.php
expand-template /etc/httpd/conf/httpd.conf
/usr/local/bin/svc -h /service/httpd-e-smith

Saludos
Dante

Offline Jean-Philippe Pialasse

  • *
  • 2,763
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Phpmyadmin is breaken
« Reply #8 on: September 06, 2012, 03:36:39 PM »
again DO NOT use it on SME 8 as the phpmyadmin version available is PHP53 deprecated. You will corrupt your data using it.

use mysql command lines instead for the moment.

a new version is on it way in the buildsys. be patient.

Offline Mntsnow

  • **
  • 59
  • +0/-0
    • http://www.mntsnow.com
Re: Phpmyadmin is breaken
« Reply #9 on: September 20, 2012, 11:26:09 PM »
Is this smeserver-phpmyadmin-3.5.2.2-2.el5.sme.noarch now the correct version to use on SME 8 ?  Which of course will need the other packages that go along with it  as I see in the smecontribs repository a smeserver-phpmyadmin and when I did a check on it is shows the smeserver-phpmyadmin-3.5.2.2-2.el5.sme.noarch being used so I assume this is the correct version to now use for SME 8??
SME-8 64bit
PowerEdge 1950 III
(2) Quad Core Xeon x5460 @ 3.16GHz
24Gb Memory
PERC 5i raid controller
4 x 500Gb SAS 7.2K Drives in Raid 5
Dual 1Gb Nics

guest22

Re: Phpmyadmin is breaken
« Reply #10 on: September 21, 2012, 06:15:54 AM »
@Mntsnow,

the new package still needs final approval and closing of the 'bug' report. Please see:

http://bugs.contribs.org/show_bug.cgi?format=multiple&id=7088

until then, use at your own risk

Offline Mntsnow

  • **
  • 59
  • +0/-0
    • http://www.mntsnow.com
Re: Phpmyadmin is breaken
« Reply #11 on: September 21, 2012, 06:19:41 AM »
Thanks RequestedDeletion  8-)
SME-8 64bit
PowerEdge 1950 III
(2) Quad Core Xeon x5460 @ 3.16GHz
24Gb Memory
PERC 5i raid controller
4 x 500Gb SAS 7.2K Drives in Raid 5
Dual 1Gb Nics

Offline superchivo

  • 5
  • +0/-0
    • http://www.callejondeportivo.com
Re: Phpmyadmin is breaken
« Reply #12 on: September 24, 2012, 04:04:05 PM »
the new package still needs final approval and closing of the 'bug' report. Please see:
http://bugs.contribs.org/show_bug.cgi?format=multiple&id=7088

I checked and saw that it is already CLOSED-FIXED, so the pertaining question would be: Any news on when will the package be available for use?

Thank you for your reply.

Offline Jean-Philippe Pialasse

  • *
  • 2,763
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Phpmyadmin is breaken
« Reply #13 on: September 24, 2012, 04:52:11 PM »
i need to push the package to smecontribs, as it has been tested already. I do it ASAP.

Offline superchivo

  • 5
  • +0/-0
    • http://www.callejondeportivo.com
Re: Phpmyadmin is breaken
« Reply #14 on: September 24, 2012, 05:14:04 PM »
i need to push the package to smecontribs, as it has been tested already. I do it ASAP.

A billion thank you's !   :-D

Offline Jean-Philippe Pialasse

  • *
  • 2,763
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Phpmyadmin is breaken
« Reply #15 on: September 24, 2012, 05:40:39 PM »
well in fact they are in place (just checked)

Indeed old one is still there i will have a look with Shad to remove the old one from repo.


When you do a clean install which ones are installed :
smeserver-phpmyadmin-3.5.2.2-2.el5.sme.noarch.rpm
and

phpMyAdmin3-3.5.2.2-1.el5.noarch.rpm

or
phpmyadmin-2.11.11.3-2.el5.rf.noarch.rpm

if you update it should also remove all old package .


a
Code: [Select]
rpm -qa|grep -i 'phpmyadmin' should only  return after installation or update
Code: [Select]
smeserver-phpmyadmin-3.5.2.2-1.el5.sme
phpMyAdmin3-3.5.2.2-1.el5

i also need to update the wiki

Offline Jean-Philippe Pialasse

  • *
  • 2,763
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Phpmyadmin is breaken
« Reply #16 on: September 24, 2012, 05:53:44 PM »
wiki updated : http://wiki.contribs.org/PHPMyAdmin

and also : http://wiki.contribs.org/SME8.0_Contribs_QA#smeserver-phpmyadmin



sorry for phpmyadmin multiuser adept do not have the time right now to adapt it, maybe in the next month.

Offline Mntsnow

  • **
  • 59
  • +0/-0
    • http://www.mntsnow.com
Re: Phpmyadmin is breaken
« Reply #17 on: September 24, 2012, 07:03:53 PM »
On my SME 8.0 64bit Clean install it returned
phpMyAdmin3-3.5.2.2-1.el5
smeserver-phpmyadmin-3.5.2.2-2.el5.sme

On my SME 8.0 32bit Clean install it returned
phpMyAdmin3-3.5.2.2-1.el5
smeserver-phpmyadmin-3.5.2.2-2.el5.sme

So it looks like the packages came through ok to my new installs over the weekend (did the 32bit Saturday and then the 64bit on Sunday)



SME-8 64bit
PowerEdge 1950 III
(2) Quad Core Xeon x5460 @ 3.16GHz
24Gb Memory
PERC 5i raid controller
4 x 500Gb SAS 7.2K Drives in Raid 5
Dual 1Gb Nics

Offline Jean-Philippe Pialasse

  • *
  • 2,763
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Phpmyadmin is breaken
« Reply #18 on: September 24, 2012, 07:56:14 PM »
so everything is good.

they were release in smecontribs on 9 /9/2012

Offline mike_mattos

  • *
  • 313
  • +0/-0
Re: Phpmyadmin is breaken
« Reply #19 on: September 26, 2012, 03:29:43 PM »
I've been using  adminer  instead of phpmyadmin  lately due to the above issues

http://www.adminer.org/en/phpmyadmin/

anyone have any experience on it?
...

Offline davidS

  • ***
  • 80
  • +0/-0
Re: Phpmyadmin is breaken
« Reply #20 on: September 28, 2012, 02:07:14 PM »
hello
is this version support multi user login ???
Because after installation I can only login with Admin

Offline Jean-Philippe Pialasse

  • *
  • 2,763
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Phpmyadmin is breaken
« Reply #21 on: September 28, 2012, 03:55:19 PM »
Hello,

hello
is this version support multi user login ???
Because after installation I can only login with Admin

as stated above:

sorry for phpmyadmin multiuser adept do not have the time right now to adapt it, maybe in the next month.

sorry for the inconvenients.

it is not a hard job to adapt it, but i am curently in a rush .


Offline newburns

  • *
  • 345
  • +0/-0
  • A good plumber, noob developer
    • Mt. Rose MEdia
Re: Phpmyadmin is breaken
« Reply #22 on: September 28, 2012, 04:08:55 PM »
I have SME 8 x64 and received the following error. I also get a similar error during my normal updates, but that's a different issue.
Code: [Select]
php-process-5.3.3-1.el5.sme.6.x86_64 from installed has depsolving problems
  --> Missing Dependency: php-common = 5.3.3-1.el5.sme.6 is needed by package php-process-5.3.3-1.el5.sme.6.x86_64 (installed)
Error: Missing Dependency: php-common = 5.3.3-1.el5.sme.6 is needed by package php-process-5.3.3-1.el5.sme.6.x86_64 (installed)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

I ran
Code: [Select]
yum --enablerepo=smecontribs install smeserver-phpmyadmin
« Last Edit: September 28, 2012, 04:13:46 PM by newburns »
SME 8.0
Quad 6600
8gb DDR2 800
8 TB RAID 5
Dual Gigabit NIC
I Still Don't KNOW WHAT I AM DOING. Please, don't assume I know anything about Linux or Centos, I just know hardware

Offline Jean-Philippe Pialasse

  • *
  • 2,763
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Phpmyadmin is breaken
« Reply #23 on: September 28, 2012, 04:35:34 PM »
I have SME 8 x64 and received the following error. I also get a similar error during my normal updates, but that's a different issue.
Code: [Select]
php-process-5.3.3-1.el5.sme.6.x86_64 from installed has depsolving problems
  --> Missing Dependency: php-common = 5.3.3-1.el5.sme.6 is needed by package php-process-5.3.3-1.el5.sme.6.x86_64 (installed)
Error: Missing Dependency: php-common = 5.3.3-1.el5.sme.6 is needed by package php-process-5.3.3-1.el5.sme.6.x86_64 (installed)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

they are related, your php package is not up to date


if you have this for update  (excluding smecontribs repo) and for installation of phpmyadmin . please raise a bug in order to investigate add me in cc for the bug

i would alsofirst try update your php process as it is out dated

yum install php-process
 php-process                             x86_64                             5.3.3-13.el5.sme.1                              smeaddons                              40 k


so try
Code: [Select]
yum update php
« Last Edit: September 28, 2012, 04:56:18 PM by unnilennium »

Offline animare

  • *
  • 29
  • +0/-0
Re: Phpmyadmin is breaken
« Reply #24 on: September 29, 2012, 09:26:54 PM »
I've downloaded and placed phpmyadmin in an ibay. And it runs great.

I have a very basic understanding for the sme server, could someone explain to me why there is a need for a phpmyadmin sme package?

Thanks

Offline pwarren

  • 7
  • +0/-0
Re: Phpmyadmin is breaken
« Reply #25 on: October 10, 2012, 01:28:42 AM »
The Wiki instructions appear to not be correct, the expand-template command needs to be

expand-template /etc/phpMyAdmin/config.inc.php

After doing that, phpmyadmin started working fine for me. Before that, I would be repeatedly asked to log in, and even with the correct username and password, I couldn't get in.
« Last Edit: October 10, 2012, 01:31:34 AM by pwarren »

Offline Jean-Philippe Pialasse

  • *
  • 2,763
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Phpmyadmin is breaken
« Reply #26 on: October 10, 2012, 06:24:27 AM »
true for sme8 the config file is not at the same place

i update the wiki