Welcome, Guest. Please login or register.
Login with username, password and session length


Need help or want to talk to other developers? Join the VirtueMart Chat! Read more...

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
Pages: [1]   Go Down
Print
Author Topic: Error message for ps_session.php - deleted Secure site info by mistake  (Read 8469 times)
Michele
Newbie
*
Posts: 8


« on: June 09, 2007, 09:32:48 AM »

Hello,

In the Admin panel I deleted the entry for the Secure site http,
thinking since PayPal is being used, that this was not necessary.
Silly me!

Now there is an error coming up in the Admin panel:

Warning: stristr() [function.stristr]: Empty delimiter. in ../public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 434

Warning: stristr() [function.stristr]: Empty delimiter. in

This warning covers the window, and I can't get back in to the
Configuration window to re-enter the Secure site info.

I tried re-uploading the ps_session.php page via FTP,
but that didn't work.

How can I fix this please ?

Thanks!

Michele
Logged
Toivo Talikka
Newbie
*
Posts: 17



WWW
« Reply #1 on: June 09, 2007, 16:35:20 PM »

Hi,

If the only change you did was to remove the URL from the Secure site info, you can download the VirtueMart configuration file from your site using FTP, edit it in your workstation and upload the  config file to the same folder.  You should then be back in business.

The configuration file is:

administrator/components/com_virtuemart/virtuemart.cfg.php

Look for the line where the URL of your site was and put back the normal link starting with http:

define( 'SECUREURL', 'http://example.com/' );

It is good practice to rename the original file to something like virtuemart.cfg.php.20070610.bak rather than overwrite it with the new version, just in case.

Regards,
Toivo
Logged

Toivo
-------------------------
Total Data Pty Ltd
Sydney, Australia
Michele
Newbie
*
Posts: 8


« Reply #2 on: June 10, 2007, 06:50:16 AM »

Toivo, thank you so much! Your fix worked perfectly.
Logged
djembedrums
Newbie
*
Posts: 3


« Reply #3 on: April 06, 2009, 14:29:34 PM »

worked for me too. Cheers.

Don't forget the trailing / after your domain name is something I just learnt.

Chris
Logged
ivandj
Newbie
*
Posts: 1


« Reply #4 on: May 29, 2009, 06:20:21 AM »

many thanks!!  Cheesy

but also need to add a line:

define( 'URL', 'http://EXAMPLE.com/' );
Logged
elaimy
Newbie
*
Posts: 4


« Reply #5 on: June 23, 2009, 00:12:47 AM »

Many thanks Toivo Talikka, i was suffering from this problem and now it's fine

Logged
silverbe
Newbie
*
Posts: 1


« Reply #6 on: March 31, 2010, 11:48:07 AM »

Gracias !! Toivo, funciona, es genial !
Logged
Pages: [1]   Go Up
Print
Jump to: