Topic: phpFood Installation

Hello,

Please do the following operations for installing phpFood.
First of all you need php and mysql hosting.

- Create a database with utf8_general_ci colacation.
- Import the setup/phpfood.sql
- Update the conf/config.php. You need to setup mysql details, SITEURL and system admin user and pass.
- Chmod 0777 logos directory
- Chmod 0777 upload/tmp/   and upload/images/  directories
- Set your main directory from .htaccess . Default is "RewriteBase /" For example if you set phpFood to a "/example/" directory. RewriteBase should be  "RewriteBase /example/"
- Delete setup directory

- Result, please browse http://www.yourdomain.com/check_license.php


Best Regards

Re: phpFood Installation

i cannot run it in my localhost
..

i follow the instruction
all files are in the folder name "book"
i edit the .htaccess "RewriteBase /book/" and the database also in config.php
but i've no luck..

"Server error!

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.

If you think this is a server error, please contact the webmaster. "

Re: phpFood Installation

We need detailed error message.
We cannot know what is occuring server error.

Re: phpFood Installation

i am not able to run it on my local server...

Re: phpFood Installation

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


this is the error message which i get

Re: phpFood Installation

" Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log."

Same error I am getting on local host

Online I am getting following message. phpFood Remote Server

You phpFood licence invalid!
Please buy license or create your free licence

phpFood Licence

What should i do next?

Re: phpFood Installation

Hello,

please call the check_license.php

Best regards

Re: phpFood Installation

http://etelrendeles.joltudom.hu/check_license.php
What's wrong?

Re: phpFood Installation

Hello,

please check your mysql settings and conf file.

10 (edited by ppo 2012-03-22 14:31:29)

Re: phpFood Installation

Hello, I was install software in the www-root directory in /phpfood/.
after that I add Alias- and Directory- directive in httpd.conf
and install ioncube:

Loader Installed Successfully
The ionCube Loader version 4.0.14 for PHP 5.2 is installed and encoded files should run successfully.

but when I open http://bsd50/phpfood/check_license.php
I see:
1) { ?> : and button >
<?=$_REQUEST['q']?> and button
Check License

I did enable Short_open_tag in php.ini and comment #include_once ("funcs.php"); in /phpfood/config/config.php
after that page open normal but I can't login into http://bsd50/phpfood/sysadmin/login.php
errol_log:

[error] PHP Notice:  Undefined index:  sysarea in /phpfood/sysadmin/header.php on line 11
[error] PHP Notice:  Use of undefined constant COPYRIGHT - assumed 'COPYRIGHT' in /phpfood/sysadmin/footer.php on line 1
[error] PHP Notice:  Undefined index:  sysarea in /phpfood/sysadmin/header.php on line 11

when I uncomment include_once ("funcs.php") page is looks like only words and digits:

ÀàGx®Z x®Z 10000_64_exceptions = ($exceptions == true); } /** * Sets message type to HTML. * @param bool $ishtml

and test in bottom page:

You phpFood licence invalid!
Please buy license or create your free licence

with another error:
[error] PHP Notice:  Undefined index:  restusern in /phpfood/resadmin/header.php on line 9
[error] PHP Notice:  Undefined index:  restarea in /phpfood/resadmin/header.php on line 10
[error] PHP Notice:  Use of undefined constant COPYRIGHT - assumed 'COPYRIGHT' in /phpfood/resadmin/footer.php on line 1
[error] PHP Notice:  Undefined offset:  2 in /phpfood/conf/funcs.php on line 0

11

Re: phpFood Installation

I installed phpfood on another PC and there is no problem, except one thing:
http://localhost/food/check_license.php say "Check License"
FAQ say: It is free only for 10 products and 1 restaurant.
so how it's work for 1 restaurant? where get license for this?

Re: phpFood Installation

Hello,

If you can install the script a domain we can help you.
But we cannpt support for localhost.

best regards

13

Re: phpFood Installation

Good, I change line in config.php to
define('SITEURL', 'http://pc-ppo.kh.ektos/food/');
and open link:
http://pc-ppo.kh.ektos/food/check_license
where I see red PHPFOOD banner and "Check License" below.

Re: phpFood Installation

conf/funcs.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.

What?

Re: phpFood Installation

Hello,

you need ioncube on your server.

Re: phpFood Installation

been trying to install w/ xampp, can't seem to make it work. How do I check if it works on localhost?

17 (edited by Sam Motion 2012-08-16 17:52:26)

Re: phpFood Installation

Hello.
I have a problem with installation.
After completing all the steps I've got an error message: "Site error: the file /home/u48340/foodrunner.ru/www/conf/funcs.php requires the ionCube PHP Loader ioncube_loader_fre_4.4.so to be installed by the site administrator."

After installing ionCube this message disappeared but all i can see now is just a white screen.

What should i do?

Re: phpFood Installation

Hello,

you need ioncube on your server.
please contact your server admin.

Re: phpFood Installation

I HAVE INSTALLED IONCUBE ON MY SERVER. loader-wizard.php shows: "Loader Installed
The ionCube Loader version 4.2.2 for PHP 4.4 is already installed and encoded files should run without problems." But all i can see is just a white screen.

What might cause this problem?

Re: phpFood Installation

Hello,

What is your url?

Re: phpFood Installation

i have installed phpfood on my server but on browser preview all I see is a blank white page what could be the problem?

Re: phpFood Installation

Do you have ioncube on your server?