Elxis CMS Forum

Support => Installation => Topic started by: mmarch on January 22, 2007, 14:33:45

Title: Can't registered with ELXIS.org
Post by: mmarch on January 22, 2007, 14:33:45
After succesfull installation, when i tryed registred my copy, always received answer

PHP: preg_split() expects parameter 4 to be long, string given
uri: index3.php?option=com_admin&task=itools&tname=registration
path: /administrator/components/com_admin/admin.admin.php
version: Elxis 2006.4 Stable rev1080 [ Nestor ] 04-December-2006 23:08 GMT+2
WARNING(2): ...administrator\tools\registration\registration.php, line 31

What i should do, haw i can fix this problem???
Title: Re: Can't registered with ELXIS.org
Post by: datahell on January 22, 2007, 18:27:25
Open /administrator/tools/registration/registration.php

Go to line 31:

replace 'NOEMPTY' with PREG_SPLIT_NO_EMPTY

After this line 31 should look like:

$valx = preg_split('/\_/', $valin, 2, PREG_SPLIT_NO_EMPTY);

Tell me if the problem solved (if you don't see any errors).

This most probably won't fix your registration issue. It is something else that prevents your site to be registered at elxis.org. Is this an online installation or a local one?
Title: Re: Can't registered with ELXIS.org
Post by: mmarch on January 23, 2007, 12:39:48
Hi!!!

This is local installation. OK i will try this later and than let you know.
Title: Re: Can't registered with ELXIS.org
Post by: datahell on January 23, 2007, 12:49:59
You can not register a local installation of Elxis!
It must be an online site.
Title: Re: Can't registered with ELXIS.org
Post by: mmarch on January 23, 2007, 14:30:24
OOOO sorry i made mistake in understuding your answer because english not my native.
Yes i instaled my site for web - on local machine. I manage my site from job machine, everything work fine, just can't registred my copy.
Title: Re: Can't registered with ELXIS.org
Post by: mmarch on January 23, 2007, 19:37:23
I did, like you say. Problem is same

PHP: preg_split() expects parameter 4 to be long, string given
uri: index3.php?option=com_admin&task=itools&tname=registration
path: /administrator/components/com_admin/admin.admin.php
version: Elxis 2006.4 Stable rev1080 [ Nestor ] 04-December-2006 23:08 GMT+2
WARNING(2): C:\webroot\xampp\htdocs\merkurs\administrator\tools\registration\registration.php, line 31

Title: Re: Can't registered with ELXIS.org
Post by: CREATIVE Options on January 23, 2007, 20:22:32
mmarch,

You can not register a local installation of Elxis!
It must be an online site.
Title: Re: Can't registered with ELXIS.org
Post by: datahell on January 23, 2007, 22:16:51
I told it to him already Sirigos but he keeps trying...
Title: Re: Can't registered with ELXIS.org
Post by: CREATIVE Options on January 23, 2007, 23:08:07
How knows what he is trying to do?
Title: Re: Can't registered with ELXIS.org
Post by: mmarch on January 24, 2007, 11:41:46
Could you please explain me what is different between - online installation or a local one???
Title: Re: Can't registered with ELXIS.org
Post by: datahell on January 24, 2007, 14:32:37
A local installation is an installation on your own computer.

An online installation is an installation to a public in www web server. Like elxis.org for example.

You can not register a local site (located in your computer).
Title: Re: Can't registered with ELXIS.org
Post by: mmarch on January 24, 2007, 19:51:44
You are confused me  ??? , i have few questions -

For my site hosting i use my PC, not 3d party services. My machine is connected to internet  ;) , in installation process i set my host to www.site.x. My databese is setuped to my local machine IP. I managed my site from home machine and from work machine (another LAN, ISP). I also tested my site work from another computers in library and internet cafe. Everything work fine. I use XAMPP webserver and configured my server for virtual hosting also (i have another full working website on my machine too). How i gather from another posts, my installation process was just litle different, like if i use 3d party hosting services. I just unzip installation files directly in my site folder. How i understood In another instances peoples should upload their site by ftp with permision XXX.

1)Could you please make for me clear - why my installation is local, but another one (if i will use 3d party hosting services) are online installation? Only because i instaled site from local machine?
2)If i will make new installation from work computer is it solve the problem?
3)Is this situation with unregistred copy cause for me problems in future?
Title: Re: Can't registered with ELXIS.org
Post by: datahell on January 24, 2007, 21:31:06
Elxis sees that your machine ip is 127.0.0.1 or something like 192.168.0.x and not your dynamic/static internet address. This is most probably happens because you have set up apache to use some of these ip addresses and not your public one (i.e. 64.127.25.12). Do you have a DNS server like BIND set up? Do you use a free service like opendns? What is your host name? Your problem does not concerns Elxis but web server administration.
Title: Re: Can't registered with ELXIS.org
Post by: mmarch on January 25, 2007, 11:38:30
Hi!!!

Thanks for answers.
I will check about appache installation. But how i can remember when i installed XAMPP i didn't provide ANY IP. I have dynamic IP and that's because use zoneedit service, but not my own (think do that in future).
I will send you my host by PM.