Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Register Globals Support


280 replies to this topic

#41 Samibouni

  • Community Member
  • 6 posts
  • Real Name:Sam Goddard

Posted 11 August 2004, 19:30

I'm still trying to install the program & still having a register_globals error despite having followed the instructions of V1.1 of the patch. This is rather confusing. I notice that my catalog/includes file does not have an application.php just an application-top & application_bottom. Might this have anything to do with anything whatsoever?

Please help as I'm very keen to get this installed & have a look at it. I've been working at it for days now.

Thanks

Sam

#42 PierreA

  • Community Member
  • 10 posts
  • Real Name:Pierre

Posted 16 August 2004, 11:04

I have installed the patch recently (thanks for that) and everything seems fine so far... except one little bug that is quite annoying for me. When i turn register_globals to off, there is no way i can get the product attributes pages to show except number 1. In fact whichever page i try to reach, it allways stays on page one (I have more than 70 pages).
the address is correct (for example: http://127.0.0.1/ms2fr/catalog/admin/produ...ribute_page=34) but still it shows page one.

When i turn register_globals back to on, everything works fine...

I will have to go live soon and will not be able to turn on anymore.

Any idea where the bug could be, as u seem to be very much into the osc programming?

Thanks for ur help.

#43 CMOTD

  • Community Member
  • 433 posts
  • Real Name:Richard Bentley

Posted 16 August 2004, 11:59

PierreA,

I can't give you an answer on this right now, but I shall have a look as soon as I can (sorry - I can't promise it will be this evening - but within the next day or two), and I'll post a more useful reply - if you don't get an answer soon, send me a PM and hassle me - I've probably forgotten !

I'll also have a quick look at the other recent problems that have been posted here and see if I can offer some help and maybe upload a bug-fix for the contrib.

A general note to people out there, sorry if it seems that I have abandoned this contrib (and my other contribs) - I am extremely busy these days and find it very difficult to devote any time to these things at all. As a result, I don't monitor the message boards very often either - maybe only once every couple of months.

However, if you have a specific problem, you can send me a PM or an email (I think my email address is in the contrib docs, if I remember correctly) - if you do this, then I will try and offer some help and I'll post up a reply.

Sorry again, and regards,

Rich.

#44 Alex Zuyev

  • Community Member
  • 22 posts
  • Real Name:Alex
  • Location:Moscow

Posted 18 August 2004, 05:49

Hello ,
Thanx for the contrib about
But after making all changes Catalog works perfectly but admin part has some bugs. There are no active links for administration, just simple text lines like Odrers, Customers ets. without <a></a> links. Hope you understand what I mean.

As well there is a bug in products_attributes.php

Quote

1064 - 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 'MAX_ROW_LISTS_OPTIONS' at line 1

select * from products_options where language_id = '4' order by products_options_id LIMIT 0, MAX_ROW_LISTS_OPTIONS

[TEP STOP]
HEADING_TITLE_OPT 

TEXT_OPTION_IDTEXT_OPTION_NAME

Warning: Division by zero in admin/products_attributes.php on line 221

Edited by Alex Zuyev, 18 August 2004, 05:53.

Best wishes,
Alex Z.

#45 shaytaan

  • Community Member
  • 185 posts
  • Real Name:Adam

Posted 22 August 2004, 17:36

I'm not able to extract the latest version from "22 August"
I get 28 errors with this message

"The filename, directory name, or volume label syntax is incorrect."

please upload again, I need this

THanks
¸,ø¤°`°¤ø,¸© God must love stupid people, he made so many ©¸,ø¤°`°¤ø,¸

#46 shaytaan

  • Community Member
  • 185 posts
  • Real Name:Adam

Posted 22 August 2004, 22:37

anyone else having the same problem?
¸,ø¤°`°¤ø,¸© God must love stupid people, he made so many ©¸,ø¤°`°¤ø,¸

#47 webshark

  • Community Member
  • 53 posts
  • Real Name:Simon Gelfand

Posted 23 August 2004, 00:29

I just installed a fresh install of oscommerce MS2. Downloaded the latest register globals patch abnd installed. now in the admin area I go in to the modules i am getting this error when ever i click any module
(replace file name for module name)
"Fatal error: Cannot redeclare class flat in C:\NewShop\catalog\includes\modules\shipping\flat.php on line 13"

or

Fatal error: Cannot redeclare class ot_shipping in C:\NewShop\catalog\includes\modules\order_total\ot_shipping.php on line 13

or

Fatal error: Cannot redeclare class cod in C:\NewShop\catalog\includes\modules\payment\cod.php on line 13

and so on and on

#48 Paul S

  • Community Member
  • 31 posts
  • Real Name:Paul Sturgess
  • Location:Reading, England

Posted 23 August 2004, 22:57

i get "does not appear to be a valid archive" error when i try to extract this file. i've downloaded it from both sources :huh:

#49 JEdw411

  • Community Member
  • 21 posts
  • Real Name:Jason Edwards

Posted 25 August 2004, 09:55

Has anyone got this to work as I can't even download it properly?

#50 Terje

  • Community Member
  • 46 posts
  • Real Name:Terje
  • Location:Oslo

Posted 25 August 2004, 10:16

I can't unzip it. It says that I need a password to do it.
Is it really passwordprotected?

#51 LozMan

  • Community Member
  • 2 posts
  • Real Name:Lol

Posted 04 September 2004, 13:35

Don't try to unzip it on Windows. Unzip it on a Linux machine and it works fine.

Use the command;

unzip <filename>

Regards,

Lol. B)

#52 CMOTD

  • Community Member
  • 433 posts
  • Real Name:Richard Bentley

Posted 19 September 2004, 17:33

I've put up v 1.2 of this contribution.

The main thing it adds is correct support for easypopulate - it actually works now !

See the CHANGE_HISTORY_FILE for details of what else has changed.

There's a reasonable chance that I'll get to look at some of the other problems that have been raised in the next few days, so there might be a v 1.3 pretty soon too

By the way, I tried to look at what other people had added (there are three updates to my last v. 1.1.1 contrib), however, they are all zip files and I can't seem to be able to unpack any of them - I just get errors.

Looking at some of the other posts here, other people seem to be having the same problem !

regards,

Richard Bentley.

Edited by CMOTD, 19 September 2004, 17:35.


#53 CMOTD

  • Community Member
  • 433 posts
  • Real Name:Richard Bentley

Posted 26 September 2004, 16:20

I have put up v 1.2.1 of this contribution

It includes some more fixes (well, it would, wouldn't it ?).

If you have any more problems, let me know.

Also, if I have not addressed a problem that has been posted here and you STILL have a problem, then let me know.

IMPORTANT
-------------------
If you post a problem report to this forum (or if you contact me directly), PLEASE say what version you are using (and don't just say 'latest' - give me a number !!)

regards,

Rich

#54 Jezthomp

  • Community Member
  • 115 posts
  • Real Name:Jeremy

Posted 07 October 2004, 10:40

Hello CMOTD

I need this mod cause my shared ssl space need the registar globals of.

However, do you have a Zip of the latest one which i can install i dont know how to open tar.gz

Am dumb as well so is it ok to install, i thought i wouldnt be able to do anything because of this registar globals thing had to change to a linux to get site going now need it to get ssl working ok.

Thanks for any info :)

#55 CMOTD

  • Community Member
  • 433 posts
  • Real Name:Richard Bentley

Posted 07 October 2004, 10:52

I can make you a zip file if you like, but you shouldn't need it. If you are using Windows, then you should find winzip can handle tar.gz files perfectly well (certainly version 8.1 SR1 does).

If you are using unix / linux, then you can uncompress it with....

tar -xzf whatever_i_called_the_file.tar.gz

Let me know (PM me if you like) if you still have a problem and I'll email you a zip

Rich.

#56 Jezthomp

  • Community Member
  • 115 posts
  • Real Name:Jeremy

Posted 07 October 2004, 12:56

How do i get to the php.ini to disable the register_globals = Off?

Cheers:)

#57 CMOTD

  • Community Member
  • 433 posts
  • Real Name:Richard Bentley

Posted 07 October 2004, 13:43

Jezthomp, on Oct 7 2004, 12:56 PM, said:

How do i get to the php.ini to disable the  register_globals = Off?
This is explained in the README file

Rich.

#58 CMOTD

  • Community Member
  • 433 posts
  • Real Name:Richard Bentley

Posted 07 October 2004, 13:51

Sorry - misread the question....

How do you get to php.ini ???

If it's your own server then you ought to know where you put it !

If it's a shared server (supplied by your ISP) then you almost certainly can't; you are stuck with what the ISP sets ! They may not even let you see the contents (either because they can't be bothered to set up the mechanism to let you or because they are just being mean-spirited)

Rich.

#59 bryanpage

  • Community Member
  • 2 posts
  • Real Name:Bryan Page

Posted 11 October 2004, 21:32

I'm still getiing the same error as mentioned a while back on this thread by someone else:

Fatal error: Call to undefined function: tep_session_save_path() in /freeola/users/3/4/sr0087843/htdocs/catalog/includes/application_top.php on line 142

Line 142 reads as follows

tep_session_save_path(SESSION_WRITE_DIRECTORY);

Using a new install of osCommerce 2.2 milestone 2 and the patch v1.2.1

Any help would be appreciated

Thanks

#60 CMOTD

  • Community Member
  • 433 posts
  • Real Name:Richard Bentley

Posted 13 October 2004, 17:04

I've looked at this and can't see anything in the patching instructions that might lead this to happen.

So....
I suppose the obvious question is "do you have the function 'tep_session_save_path' defined in .../catalog/includes/functions/sessions.php ?".

Unless you have moved things about, it should be the very last function in the file. If it's not there then I would suggest you add it back in - the instructions don't say to delete it

Feedback on this would be appreciated.

Rich.