You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -341,13 +357,15 @@ if (!empty($_FILES['file']['name'])) {
341
357
### PHP Configuration
342
358
343
359
Key PHP settings are in `html/php.ini`:
360
+
344
361
- upload_max_filesize = 10M
345
362
- post_max_size = 20M
346
363
- memory_limit = 128M
347
364
348
365
### Nginx Configuration
349
366
350
367
Key Nginx settings in `nginx.conf`:
368
+
351
369
- client_max_body_size = 20M
352
370
- Various MIME type settings
353
371
@@ -356,6 +374,7 @@ Key Nginx settings in `nginx.conf`:
356
374
### File Upload Issues
357
375
358
376
If experiencing "413 Request Entity Too Large" errors:
377
+
359
378
- Check if your file exceeds the 10MB limit
360
379
- Verify Nginx configuration has proper client_max_body_size value
361
380
- Ensure PHP settings for upload_max_filesize and post_max_size are correct
@@ -364,13 +383,16 @@ If experiencing "413 Request Entity Too Large" errors:
364
383
### Database Connection Issues
365
384
366
385
If experiencing database connection problems:
386
+
367
387
- Verify database credentials in db_connect.php
368
388
- Check if the database container is running
369
389
- Ensure the schema has been imported
390
+
-**If you get an error about the 'role' column not accepting 'admin', see the Seeding section above for how to alter the table.**
370
391
371
392
### Instagram Integration Issues
372
393
373
394
If experiencing Instagram connection problems:
395
+
374
396
-**"Session Invalid" Error**: Clear cookies, try incognito mode, or reconnect the account
375
397
-**"Invalid Redirect URI" Error**: Ensure your redirect URI in the code exactly matches what's in the Meta Developer Dashboard
376
398
-**Database Column Errors**: The system will automatically update the database schema, but you can manually run the table creation from `instagram_config.php`
@@ -386,4 +408,37 @@ If experiencing Instagram connection problems:
386
408
387
409
## License
388
410
389
-
[Your license information here]
411
+
[Your license information here]
412
+
413
+
### Seeding the Database
414
+
415
+
To seed the database with initial data (including the admin user), use the provided script:
0 commit comments