Error when printing with IE's "print all linked documents"

QuestionsError when printing with IE's "print all linked documents"
John asked 10 years ago

Hello!

There's occuring some 'error' printings when I choose the option "Print all linked documents" with Internet Explorer. It prints the grid and the linked ID's with the new site – so far so good. But then for every linked ID it prints, it prints aswell a page with :
404 Not Found
The requested url /some/url/<a href='frgb.php was not found on this server.

I did some testings and I noticed it's the fault of the $col["link"] attribute by changing the name of the by ID linked page ->
Prints url was not found on this server(correct) AND The requested url /some/url/<a href='changedurl.php was not found on this server.

My code is :

$col=array();
$col["title"] = "ID";
$col["name"] = "BuID";
$col["hidden"] = false;
$col["width"] = "55px";
$col["filter"]=false;
$col["link"] = "testings7.php?SNr=".$intSNr."&BuID={BuID}";
$col["align"] = "left";
$col["text-decoration"] = "line-through";
$cols[] = $col;

I'd appreciate any help!

– Christoph

4 Answers
Abu Ghufran answered 10 years ago

Instead of $col["link"], you can try

$col["default"] = "<a href='testings7.php?SNr=".$intSNr."&BuID={BuID}'>My Link</a>";

John answered 10 years ago

Hello,

I changed it from link to default but I still get an error print per linked document.
The structure is : testings7 includes the phpgrid and links to testings6 which includes special sheets for the, linked by the BuID, documents.

I uploaded the pfd-print of that error below :
http://pdfcast.org/pdf/3ca-20-20href-pdf

Nowhere on any of these test sites freigabeBeleg.php (the "online" testings6) is referenced but I don't get it why the error still occurs…

Abu Ghufran answered 10 years ago

I am unable to regenerate this error.
Please email me the code and sample database sql dump to build the test.
You can email me at [email protected]

John answered 10 years ago

Ah, somehow It now worked with default instead of link! Might be a caching error last time I tried but now it works – Thanks alot, Sir!

Your Answer

13 + 20 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?