Install problem

Hi,

i´m a newbie and have a problem by the installation. I get every time this code in the first step:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /homepages/0/d96332845/htdocs/bunkerwelt/shop/core/oxsysrequirements.php on line 36

In this file stand follows: protected $_aRequiredModules = null;

Have someone an idea what is wrong?

sorry for my bed english…

Hi,

no prob with any English as long as it is English :slight_smile:

Which PHP version do you use?


Marco Steinhäuser
Community Guide
OXID eSales AG
http://twitter.com/marcosteinhaeus

hi,

my provider is 1und1 (homepage perfect) and the only information is php4 and php5 are possible.

not really, come on! If you want to have one of the “flavours”, switching shall be declared somehow :wink:

Cheers


Marco Steinhäuser
Community Guide
OXID eSales AG
http://twitter.com/marcosteinhaeus

@online: your provider uses php4 as default. To make the apache parse all php-files with php5 you need to create a file named “.htacces” in the root of your webserver.

Placing these two lines inside the .htaccess-file should do the job:

AddType x-mapp-php5 .phpAddHandler x-mapp-php5 .php

BUT: You will probably get a “mod_rewrite”-error during the setup check. This is where I am also still stuck with 1und1.

I added these lines to .htaccess but without success:

RewriteEngine OnRewriteBase /

1und1 seems not to be the provider you want to use for an OXID shop! Or has someone else made it? 1und1 maybe ok for a test drive. Anyone who made it work?

bestHans

Hello Hans,

yeah, some people got it working. But maybe this depends on the package you booked.

If you installed the OXID into a subfolder (not just the web root) the entry for the .htaccess might have to be a bit different:

RewriteBase /oxid/ or whatever.

Regards


Marco Steinhäuser
Community Guide
OXID eSales AG
http://twitter.com/marcosteinhaeus

It’s a Webpack L with all you need for OXID. The “mod_rewrite” error is very strange since MOD_REWRITE IS RUNNING AND WORKING but OXID does not get it! My CMS is using it without any problems!!! The HE support also says: “Sorry, mod_rewrite is active and runnging. Besides, there is nothing to configure. Just ON or OFF.”

I know. It’s in the root directory. Besides, where are the OXID rewrite rules stored? I don’t get it.

If i cannout get OXID running I have to use another system. OpenSource or not. The time i spent to get the party started is maybe not well invested. If I cannot test the system, I have to quit.

best

Hans

P.S.: Would this mod_rewrite question something to ask the OXID support? Or is the company policy: CE? Forget it!

Hello Hans,

usually, people decide for a software setting it up and testing it in a development environment like VMware and look for a hosting provider where it fits.

Anyway, I uploaded OXID_CE_4.1.1_18442 to a HostEurope WebPack L 2.0, subfolder /oxid/ and it show me up this:

http://img23.imageshack.us/img23/1441/oxidhe.jpgSo - mod_rewrite is working well.Regards

__________________Marco SteinhäuserCommunity GuideOXID eSales AGhttp://twitter.com/marcosteinhaeus

Yes, here with my XAMPP environment, everything’s fine. For a demo-shop I want an installation on a public webspace. But, wait and read on…

Do you know this feeling, like when you have spent hours searching for a reason why a maschine won’t run and then you find, that the plug just is not inserted? I feel so dumb right now. Wanna know why? I did not copy the “.htacces” which comes with OXID to the webspace. My ftp-client just skipped the dot-files. Awrrrk. And I wondered the OXID stores it’s rewrite rules!!!

So thank you very much for you help, Marco! Without your running test setup on a Host Europe Webpack I would have searched for errors everywhere but not here: on my local drive where a little “.htacces” was waiting to be transfered to the global village.

To conclude: Marco = hero, Hans = zero

best

Hans

Hi Hans,

thanks alot for your feed back. Actually, this could happen to everybody…

But good to know that it works like this.


Marco Steinhäuser
Community Guide
OXID eSales AG
http://twitter.com/marcosteinhaeus

geting the same error on godaddy hosting installing on php4 & mysql5 subfolder. I did not forget to copy .htaccess

I get source code output if I add php5 handler to .htaccess

Hi,

Source code output means that php is not running on your server…

Regards


Marco Steinhäuser
Community Guide
OXID eSales AG
http://twitter.com/marcosteinhaeus

a very good morning gentlemen,

having just tried to install, I do have exactly the same problem as mr. online and I am also with 1und1.de

I dont really want to host it anywhere else, so I am eager to get it running. I do have a php forum running

there with no trouble at all, so it should workout somehow.

now, my problem is that I am a complete dummy and do not even know where to find the .htaccess-file

having searched the ftp up and down but couldnt find it. also, I am using a subfolder, so could u tell me

where and what exactly to put in ?

another problem I am aware of is that I do have only one sql base, where actually already the php forum

is running. as I do not want to upgrade my package I was told that its possible to run the shop and the

forum on the same sql with different prefixes. will the installer match this or is there a danger that I

will have some cake with vinegar afterwards? can I choose the prefix during the installing process?

sorry for the trouble and thanks a lot in advance,

kogutki.

gentlemen,

I am sorry that I bothered you, I have fixed the .htacces already. read about root and stuff and that works fine already.

but now I have the trouble that, trying to create the database (as I mentioned an existing one that is already in use by a php-smf forum) I got the following error:

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ‘SCHEMA CHARACTER SET latin1 COLLATE latin1_general_ci’ at line

Version: MySQL4.0 all system requirements were shown green.

whtat to do ?

thanks in advance,

kogutki.

Hi kogutki,

the OXID shop runs with a MySQL server > 5.0.33, MySQL 4 would not work at all. BTW: I don’t think it’s a good idea to match both databases in one …

If you simply want to have a first look at the shop, the best idea probably is to have it on your local machine. Maybe the VMware is helpful:http://www.oxid-esales.com/de/resources/forum/general/vmware-appliance-oxid-eshop-debian-etch-beta

Best


Marco Steinhäuser
Community Guide
OXID eSales AG
http://twitter.com/marcosteinhaeus