Two pages, one will display and one will not?

Two pages, one will display and one will not?

mmcnair80mmcnair80 Posts: 83Questions: 21Answers: 7

I have two different pages. One will display and the other will not. Both are called by the same script(ReportPage.php). The only difference is that one is really big (60000+ rows and 60+ columns) and the second is small (74 rows and 8 columns). They are both sent for server side processing, that's how I have the Dev site set up. With the first one I get an error saying that file not found when trying to locate the "ajax": { "url": "ServerSide.php?PageName=<?php echo $Page; ?>" }

I can add the files as well if necessary though most of them are on another question that I posted here.

I am at a loss as to what is going on with this first page.

This question has an accepted answers - jump to answer

Answers

  • mmcnair80mmcnair80 Posts: 83Questions: 21Answers: 7
    Answer ✓

    I got this to work.

    I was sending everything to the ServerSide.php file through $_GET. There is a limit to how many characters you can send through $_GET and I was exceeding that. I switched to sending everything through $_POST and now it's working. I did that by adding this:

    "ajax" : {
                  "url" : "./ServerSide.php",
                  "type": "POST"
                 }
    
This discussion has been closed.