Elxis CMS Forum
Support => Installation => Topic started by: GIURZA on December 07, 2007, 13:27:21
-
Hello from Georgia.
I got a problem, so after installation i can`t enter 2 my web site :( Can anybody help me.U can even See Pic :(
PHP: mysql_pconnect() has been disabled for security reasons
uri: index.php
path:
version: Elxis 2006.3 Stable rev1060 [ OpenMind ] 21-October-2006 16:28 GMT+2
WARNING(2): /var/www/web245/web/includes/adodb/drivers/adodb-mysql.inc.php, line 372
PHP WARNING
PHP: mysql_pconnect() has been disabled for security reasons
uri: index.php
path:
version: Elxis 2006.3 Stable rev1060 [ OpenMind ] 21-October-2006 16:28 GMT+2
WARNING(2): /var/www/web245/web/includes/adodb/drivers/adodb-mysql.inc.php, line 372
PHP WARNING
PHP: database::include(/var/www/web245/web/includes/Core/../configuration.php) [function.database-include]: failed to open stream: No such file or directory
uri: index.php
path:
version: Elxis 2006.3 Stable rev1060 [ OpenMind ] 21-October-2006 16:28 GMT+2
WARNING(2): /var/www/web245/web/includes/Core/database.php, line 172
PHP WARNING
PHP: database::include() [function.include]: Failed opening '/var/www/web245/web/includes/Core/../configuration.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear')
uri: index.php
path:
version: Elxis 2006.3 Stable rev1060 [ OpenMind ] 21-October-2006 16:28 GMT+2
WARNING(2): /var/www/web245/web/includes/Core/database.php, line 172
PHP WARNING
PHP: database::include(/var/www/web245/web/includes/Core/../offline.php) [function.database-include]: failed to open stream: No such file or directory
uri: index.php
path:
version: Elxis 2006.3 Stable rev1060 [ OpenMind ] 21-October-2006 16:28 GMT+2
WARNING(2): /var/www/web245/web/includes/Core/database.php, line 173
PHP WARNING
PHP: database::include() [function.include]: Failed opening '/var/www/web245/web/includes/Core/../offline.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear')
uri: index.php
path:
version: Elxis 2006.3 Stable rev1060 [ OpenMind ] 21-October-2006 16:28 GMT+2
WARNING(2): /var/www/web245/web/includes/Core/database.php, line 173
-
for first - i think, you need use the latest Elxis version - It's Elxis 2006.4, not 2006.3.
-
This php function: mysql_pconnect has been disabled in your php.ini ( WHY???? ). Contact your hosting provider and ask him why he has disabled this function and to enable it again. mysql_pconnect has some advantages comparing to the alternative mysql_connect function.
If you can nt find a solution there modify elxis code to use mysql_connect instead of mysql_pconnect. It's easy, I will tell you how to do if your server administrator wont help you.
Coursar is right. Your revision is right (1060) but the elxis version is wrong (2006.3). You have mis-updated your Elxis! Check your file system with Updiag tool.
-
Hi, giurza, I ask you again, please remove the image from this post, or attach a smaller one, because it is causing problems with opening this post. I couldn't even read this post due to execution timeout.
-
thanks for reply :)
So, I reinstalled the Elxis, now I got a 2006.4, but got a same problem....
datahell : I send email to my hosting provider, but no answers, like always !!! Could you tell me, explane, how modify elxis code to use mysql_connect ???
Ivan Trebješanin : Theres no image, anymore
Coursar : Tnx, already downloaded...
-
Ivan Trebješanin : Theres no image, anymore
I know, datahell has removed it...
As for your problem... datahell has already told you mysql_pconnect has been disabled, so you must ask your server admin to allow it for you.
This MIGHT WORK, but I'm not sure: create a file named php.ini (if it doesn't exist create it), and add this line -> extension=mysql.so
-
I know, datahell has removed it...
As for your problem... datahell has already told you mysql_pconnect has been disabled, so you must ask your server admin to allow it for you.
[/quote]
Yes, I got it.Thank You
I already send email,but no answers...
Can you tell me when I`ll crate file named php.ini, where to upload it ? Root ?
extension=mysql.so - add this line ?
I can get it, so can you made this file and upload on rapidshare or somewhere :9
Sorry for my bad english :) I`m from GEORGIA :)
-
Open includes/Core/database.php with a text editor.
Go to line 160
Change this:
if (!$this->_resource->PConnect($host, $user, $pass)) {
to this:
if (!$this->_resource->Connect($host, $user, $pass)) {
Go to line 169
Change this:
if (!$this->_resource->PConnect($host, $user, $pass, $db)) {
to this:
if (!$this->_resource->Connect($host, $user, $pass, $db)) {
Save the file and upload it to your site.
-
Open includes/Core/database.php with a text editor.
Go to line 160
Change this:
if (!$this->_resource->PConnect($host, $user, $pass)) {
to this:
if (!$this->_resource->Connect($host, $user, $pass)) {
Go to line 169
Change this:
if (!$this->_resource->PConnect($host, $user, $pass, $db)) {
to this:
if (!$this->_resource->Connect($host, $user, $pass, $db)) {
Save the file and upload it to your site.
Thank you so much, it's working. Thanks
-
hell, got another problem
(http://img529.imageshack.us/img529/2428/anotherprozb9.th.jpg) (http://img529.imageshack.us/my.php?image=anotherprozb9.jpg)
When I`m Content New Item , I wanna add some pictures, flash but I can`t.Theres opening new mini-window,but theres nothing,its clear :( Whats problem ?
-
Use iBrowser :), it's much better.
-
hell, got another problem
(http://img529.imageshack.us/img529/2428/anotherprozb9.th.jpg) (http://img529.imageshack.us/my.php?image=anotherprozb9.jpg)
When I`m Content New Item , I wanna add some pictures, flash but I can`t.Theres opening new mini-window,but theres nothing,its clear :( Whats problem ?
Try to use another Browser - Internet Explorer, Opera...
-
You have to check your files and folders permissions.All must be 644 and 755 except the cache and temp folders.There are some topicks in the forum for more details.
Welcome :)
-
Thanks everybody , it`s alright with IE :) thanks a lot.