Weird Problem with new site - Coding problem

Scorpion Ghost

Elite Member
Executive VIP
Jr. VIP
Joined
Mar 22, 2013
Messages
9,142
Reaction score
10,489
So I'm making a new site. And I've encountered a weird problem.

I have lines like this in a file:

PHP:
                                        78 => array('title' => 'Musical.ly Likes', 'name' => 'mly_lk_tx', 'price' => 'mly_lk_pr'),
                                        79 => array('title' => 'Somesite Something', 'name' => 'sm_lk_tx', 'price' => 'sm_lk_pr'),
                                        80 => array('title' => 'Somesite Something2', 'name' => 'sm2_lk_tx', 'price' => 'sm2_lk_pr'),
                                        81 => array('title' => 'Somesite Something3', 'name' => 'sm3_lk_tx', 'price' => 'sm3_lk_pr'),
                                        82 => array('title' => 'Somesite Something4', 'name' => 'sm4_lk_tx', 'price' => 'sm4_lk_pr'),

Each of those lines creates an area at the backend of my site, where I input quantities and prices. I've created 81 lines, and each line worked perfectly. But as soon as I make the 82nd line, it creates the pricing table, but I can't input anything into it. I input stuff in it, I click save, and when the page refreshes it's empty again. And what it also does is it prevents me from editing any of the other 80 pricing tables I have.

So as soon as I input the 82st line, I can't input or edit anything anymore.

I tried various things, but I can't figure it out. Any ideas?
 
Last edited:
Maybe memory (unlikely), maybe your software limits the number of entries.
 
Maybe memory (unlikely), maybe your software limits the number of entries.

Hm. Yeah, I'm looking on Fiverr for people to look at it now. I wouldn't be able to tell if there's somehow a limit on it.

If anyone can take a look and figure this out for me, I could pay $5-10 dollars.
 
Hm. Yeah, I'm looking on Fiverr for people to look at it now. I wouldn't be able to tell if there's somehow a limit on it.

If anyone can take a look and figure this out for me, I could pay $5-10 dollars.

I re-read your original post. Most likely it's the logic that saves the data. My guess is that it validates a maximum of 81 entries and fails validation if more entries than that thus rejecting the whole request. So look for the script that saves the data. could also be the database exceding the size allowed for the query.
 
Thanks Rafark. You rock dude!
 
Back
Top