partkeepr / PartKeepr

Open Source Inventory Management
http://www.partkeepr.org
GNU General Public License v3.0
1.38k stars 401 forks source link

{"error":true,"message":"Undefined index: driver"} #243

Closed nihaopaul closed 12 years ago

nihaopaul commented 12 years ago

just tried to use /setup/setup.php but the errors in both php and in the browser are not helpful/intuitive.

Drachenkaetzchen commented 12 years ago

Can you clarify what you did? Which release did you use?

nihaopaul commented 12 years ago

Tar all on the website.. installed a stock Ubuntu server.. followed quick install guide.

signatures are useless. no one reads them right? On Aug 4, 2012 11:07 PM, "Timo A. Hummel" < reply@reply.github.com> wrote:

Can you clarify what you did? Which release did you use?


Reply to this email directly or view it on GitHub: https://github.com/partkeepr/PartKeepr/issues/243#issuecomment-7502331

Drachenkaetzchen commented 12 years ago

Which tar exactly?

Usually, you don't need to follow any install guides because you aren't installing a developer build - just untar and run setup.

nihaopaul commented 12 years ago

yep, its on this system for sure, as other systems "just Work" but it's a brand new install on a ubuntu server, with php + pear + apache + mysql straight up out of apt-get, but i've got no debugging information in php-error.log just the json error in browser , any hints to where i should be looking? or special modules that might be needed other than the imagemagick ones and the ones for pear?

http://partkeepr.org/downloads/partkeepr-0.1.7.zip was the files i used, other boxes not a problem, just this one install that we were setting up in the hackerspace.

will keep on trying. thanks

On Sun Aug 5 02:21:22 2012, Timo A. Hummel wrote:

Which tar exactly?

Usually, you don't need to follow any install guides because you aren't installing a developer build - just untar and run setup.


Reply to this email directly or view it on GitHub: https://github.com/partkeepr/PartKeepr/issues/243#issuecomment-7504093

Drachenkaetzchen commented 12 years ago

You wrote that you have followed the developer install instructions - did you try without?

Did you use the web setup by opening the "setup" directory via the web browser?

If you are missing any dependencies, the web setup should complain.

nihaopaul commented 12 years ago

yep this is directly from the /setup/ folder.. http://parts.xinchejian.com/setup/setup.php if you wish to see the same error

On Sun Aug 5 03:42:35 2012, Timo A. Hummel wrote:

You wrote that you have followed the developer install instructions - did you try without?

Did you use the web setup by opening the "setup" directory via the web browser?

If you are missing any dependencies, the web setup should complain.


Reply to this email directly or view it on GitHub: https://github.com/partkeepr/PartKeepr/issues/243#issuecomment-7504842

Drachenkaetzchen commented 12 years ago

Is there some leftover config.php file in the root directory?

nihaopaul commented 12 years ago

no, nothing, i basically unzipped partkeepr from the website on it, the same one i have working on rhcloud so i'm stumped as to why it's like this, anyway, i've taken up enough of your time, i'll keep on trucking until i figure it out, once i do i'll post to this ticket the solution since i can't be the only one having this problem.

On Sun Aug 5 03:48:29 2012, Timo A. Hummel wrote:

Is there some leftover config.php file in the root directory?


Reply to this email directly or view it on GitHub: https://github.com/partkeepr/PartKeepr/issues/243#issuecomment-7504888

Drachenkaetzchen commented 12 years ago

I'll also get into detail a bit when I'm back from ICMP, it's a bit hard to do debuggung on a flaky internet line on a camp ;)

nihaopaul commented 12 years ago

i'm such an idiot!

/setup/index.html not /setup/setup.php !!!

i want to bury this ticket deep inside /dev/null with /dev/zero and /dev/urandom over the top!

On Sun Aug 5 03:48:29 2012, Timo A. Hummel wrote:

Is there some leftover config.php file in the root directory?


Reply to this email directly or view it on GitHub: https://github.com/partkeepr/PartKeepr/issues/243#issuecomment-7504888

nihaopaul commented 12 years ago

!USER ERROR!

Drachenkaetzchen commented 12 years ago

In fact a good one - I need to move the index.html out of the way, it is a left-over from previous versions :)

Drachenkaetzchen commented 12 years ago

Please leave open until I moved the leftover files from the builds.

Drachenkaetzchen commented 12 years ago

Oh - now I was bogus. I did swap things around - yes, index.html is the file that should be called. I refactored it so it is now index.php to make it more obvious that you can actually use it to set it up.