PDA

View Full Version : cross-browser compatibility, submit problems


seothatworks
09-08-2005, 12:37 PM
sorry if this has been posted and I missed it:
Owner of a major submission service sent me this:
Content visible to registered users only.

He claims to have this problem with all PHPLD directories. I also run a submission service, submit many sites and never experienced such problems myself (Firefox+WinXP). So it seems to me it is all related to Safari and some Firefox versions.

minstrel
09-08-2005, 05:12 PM
Hmmm... that might explain why I get emails from some people telling me phpld won't let them submit...

seothatworks
09-08-2005, 05:29 PM
There is also another issue I just got confirmed and experiencing myself, not very well identifiable/reproducable, but with some phpld dirs will only allow me to submit two or three sites, after that submitting simply stops working. So far it seems it is happening randomly, but not only to me.

scottlarockman
11-12-2005, 08:26 PM
Seems I can duplicate this on two of my sites pretty easily. If I turn OFF the visual comfirmation, then I seem to get the error. If I turn it on, the error seems to disappear.

Davilac
11-12-2005, 08:41 PM
You can fix Opera problem by changing CSS used in form, I think to remember.

Edit:

Exactly is this CSS code:

Content visible to registered users only.

I changed my desing, but maybe if you delete this you could fix the problem (and edit the span tag in top_bar template).

David
11-12-2005, 08:44 PM
I recall that vBulletin software also has issues with Opera (js dropdowns in main menu). If anyone has a solution, please post it.

scottlarockman
11-12-2005, 09:10 PM
actually my problem is in Internet Explorer. It's a problem with the PHP. It is hit or miss. Sometimes the error comes, sometimes it doesn't! Very odd.


SmartyValidate: [is_valid] form 'submit_link' is not registered.

David
11-12-2005, 09:32 PM
Content visible to registered users only.

I haven't seen this one. What version of PHP are you running?

Nobody
11-12-2005, 09:58 PM
I get e-mails by folks trying to sumbit, getting errors as well - on a regular basis. Anyone knows how to get around this problem?

scottlarockman
11-12-2005, 11:19 PM
Well first off I'm on Godaddy.com, maybe there can be some developed commonalities? PHP 4.3.11 I've found a few other threads with people having the same problem.

http://www.phplinkdirectory.com/forum/viewtopic.php?topic=367

scottlarockman
11-13-2005, 07:15 PM
ok, so now I know WHEN it does this. It gives the error whenever a session ID has been assigned. I can click submit all day and as long as it says.

<p id="path"><span class="submit"><a href="/resources/submit.php?PHPSESSID=d20711847f02d0a10006ee232d524 174">

If I click "continue" from here, it will give the error that I listed above. If I refresh the page by hitting shift-refresh, the php session ID goes away and I can click "continue" with no problems. Why is the session ID coming into this?

scottlarockman
11-13-2005, 08:01 PM
ahhh, maybe not. :(

scottlarockman
11-13-2005, 11:14 PM
These are the errors.

ok...so I DID indeed REALLY figure it out this time. I discovered that a "default" install of header.tpl/footer.tpl and submit.php worked fine. So I started working backwards. I started slowing adding modifications to submit.php. Then I discovered the problem.


I started removing my modifcations one mod at a time from submit.php. I ended up that I had to remove EVERYTHING from submit.php to get the error to not show up. I then went and added the first half of my site to header.tpl and the second half to footer.tpl. No error. So as long as submit.php ONLY has the default code in it. Shouldn't see this error. Don't know exactly why this is, but it is the way it is ;)

vkaryl
11-13-2005, 11:57 PM
Interesting.... I have gotten dozens of submissions (of course, they're all NOT germane to the local resource site I'm running, but that's another story!), and not one email like y'all have had.

Very odd.

kickass
11-14-2005, 01:58 AM
My submission form works just fine. I even posted the whole site for browser checks, when I first put it up, to a css mailing list whose members are crazy about catching errors and browser discrepancies, many of whom are on Macs with both IEMac and Safari running. I can prove that my site shows a submit link in opera . . .
Opera screenshot with submit hovered (http://kickasswebdesign.com/images/webgeekdiroperasubmit.png)

I even checked the submit form in Opera and it's working fine.

Can it be the template changes you made, guys? If you don't know what you're doing you can really screw things up . . .

scottlarockman
11-14-2005, 06:56 AM
kickass,

my question would be did you modify the submit.php? If you modified THAT file, then you probably get the same errors I got. Also assuming you are running the newest version. If you modifed the header.tpl and the footer.tpl, then you probably did not get errors (similar to what i've discovered). Also, I didn't have any problems with a particular browser. I had a PHP error that would show regardless of browser.

Ap0s7le
11-14-2005, 06:23 PM
Hi Scott,

Did you modify config.php and/or init.php?

Look for a line towards the top of the files that start with this.
Content visible to registered users only.

Because it should look like this.
Content visible to registered users only.

Let me know

-Casey

kickass
11-14-2005, 07:13 PM
Of course I modded my template- I got rid of all the tables and bloated code. And it works. But I am running an older version of phpld. I don't fix things that aren't broke.

I get on the average of a few dozen submissions a week, the contact form is clearly visible from the submission form and I have NEVER had a complaint.

Do you require reciprocal links? Maybe that's your problem. There are all sorts of horror stories posted about that . . .

vkaryl
11-14-2005, 07:36 PM
Yup, me too, kickass. Did tweaks to just about every .tpl file in the distro....

Unlike you though, mine are done to the "more or less current since I'm not into grabbing svn code" RC5.2 from 8/21/05. I haven't any problems with IE OR Opera, and apparently neither do link submitters, 99% of whom (from server logs) are using IE6+.

I did not make any changes to submit.php, Scott. No reason to - it's fine the way it is.... only php file I changed was index.php to incorporate a couple of things (like alpha subcats f'rinstance) - though note please that I'm not particularly worried about tweaking core if needed.... just hasn't been much needed yet.

scottlarockman
11-15-2005, 09:40 AM
when I say modify index.php or submit.php, I do NOT mean modify the php code. I mean just throw in HTML AROUND the php. No I did not modify init.php or config.php.

vkaryl
11-15-2005, 03:50 PM
No - why would you need to "throw HTML around the php"?

Ap0s7le
11-15-2005, 05:45 PM
Ouch, that sounds like your problem Scott.

What are you wanting to do by adding HTML to the PHP?