• Resolved mouad09

    (@mouad09)


    i have 2 porojects in reactpress/apps folder, there is no problem in the react projects, they work normal in local, but when i go to reactpress window to add page to reactproject, it always says that somthing went wrong, and it create a copy of project but in apps folder there is only 2, but in reactpress there is 6 project 2 are he project i have but the other 4 are just copies they are not real projects, i uninstalled reactpress and removed the projects form apps folder and when i installed it again it shows me the same empty copied of the projects, and i cant delete them it tells me to delete them by my self by hand, but there isnt any project in directory t delete it, and i dont know from where he gets those projects,

    and if when i click on add page after i select my page it shows me something wen wrong, and also it create a Orphan folder with the same name of hte reatc project folder but it null and shows me that :- It Seems The App Folder Was Deleted.

    • This topic was modified 1 year, 5 months ago by mouad09.
Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter mouad09

    (@mouad09)

    ????????

    • This reply was modified 1 year, 5 months ago by mouad09.
    Plugin Author rockiger

    (@rockiger)

    The orphans shouldn’t be there. Only the two last project should be shown in the admin area.

    Ignore the other ones. Can you add pages for the last two apps?

    Thread Starter mouad09

    (@mouad09)

    @rockiger I can`t add pages to the last 2 apps, its always tells me that something went wrong, and create a orphan with the same name of the app and the page is added to that orphan app

    Plugin Author rockiger

    (@rockiger)

    @mouad09 Do you have access to your database? Can you delete the option_name “repr_apps” from the wp_options table? And then reload the ReactPress admin page?

    Thread Starter mouad09

    (@mouad09)

    @rockiger unfortunately i don`t have access to database.

    so if i delete te repr_apps the problem will solve ?, so the solution is in the DB ?

    because i want to remove all data related to plugin, like i installed in first time, as ou see if i uninstall it and install it again the same empty apps remain the same, i want o delete everything related to the plugin, and start from scratch

    • This reply was modified 1 year, 5 months ago by mouad09.
    Plugin Author rockiger

    (@rockiger)

    It is my best guess. It appears that some data is corrupted in the options. Sorry for that.

    Thread Starter mouad09

    (@mouad09)

    @rockiger ok, i will try that solution, by the way the plugin is amazing,I appreciate that awesome plugin, eazy to use, but the problems lke that can be frustrating

    Hi,

    I have the same problem. Could you tell me how it was resolved.
    Additionally I am getting this error in logs. Please respond Thanks!!!

    WordPress database error Disk full (/tmp/#sql-temptable-3f8a27-26ecc3-17c2.MAI); waiting for someone to free some space… (errno: 28 “No space left on device”) for query SHOW FULL COLUMNS FROM wpdh_options made by require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘wp_loaded’), WP_Hook->do_action, WP_Hook->apply_filters, _wp_cron, spawn_cron, set_transient, update_option
    [29-Nov-2023 11:48:19 UTC] PHP Warning: file_get_contents(/home/websiteName/websiteName.in/wp-content/reactpress/apps/[appname]/package.json): failed to open stream: No such file or directory in /home/websiteName/websiteName.in/wp-content/plugins/reactpress/admin/Controller.php on line 171
    [29-Nov-2023 11:48:20 UTC] PHP Warning: file_put_contents(/home/websiteName/websiteName.in/wp-content/reactpress/apps/websiteName/public/index.html): failed to open stream: No such file or directory in /home/websiteName/websiteName.in/wp-content/plugins/reactpress/admin/Controller.php on line 320

    Plugin Author rockiger

    (@rockiger)

    First, you should fix your database. It seems to don’t have any space.

    Then you can try to delete the option_name “repr_apps” from the wp_options table? And then reload the ReactPress admin page?

    Hi, rockiger

    I have same issue. I’ve removed option “repr_apps”. it makes to clean current react project lists.

    But I can’t see slug option. only “add page”.
    Futhermore, it still “something went wrong”.

    How can I solve this out?

    Plugin Author rockiger

    (@rockiger)

    After an refresh do you see the page?

    If you want to change the slug you need to change it in the page.

    Thread Starter mouad09

    (@mouad09)

    @rockiger

    thank you

    delete the?option_name?“repr_apps” from the?wp_options?table is worked for me

    Hi @rockiger.

    Faced the same problem. After I add a page to a vite.js project on the production server, another project that doesn’t exist appears in the list. The selected page is added to the non-existent project with the type “Orphan – It seems the app folder was deleted”.

    Locally everything works, but on the production server it doesn’t.

    Can you delete the option_name “repr_apps” from the wp_options table? And then reload the ReactPress admin page?

    I have tried doing what you advised. It cleared the list, but didn’t solve the problem. Every time I add a page this bug happens.

    Here is what the error is in the console on the “wp-admin/admin.php?page=reactpress” page:

    admin.php:54
    GET https://dice.msj.edu/wp-content/plugins/reactpress/js/reactpress-admin.js?ver=3.3.0 net::ERR_ABORTED 404 (Not Found)

    The following errors appear in the debug.log file:

    [24-Oct-2024 13:08:47 UTC] PHP Notice:  Trying to access array offset on value of type null in /var/www/dice.msj.edu/wp-content/plugins/reactpress/admin/Controller.php on line 50

    [24-Oct-2024 13:08:48 UTC] file_get_contents(/var/www/dice.msj.edu/wp-content/reactpress/apps/diceformapp/build/asset-manifest.json): failed to open stream: No such file or directory
    • This reply was modified 4 months, 1 week ago by voronov13.

    Hi again @rockiger .

    I managed to solve the problem, in my case it was related to camel case in the folder and project name. Changing the name to lower case and rebuilding the application helped to solve the issue.

    Thread Starter mouad09

    (@mouad09)

    @voronov13

    thanks so much man, u saved me,

    the same error rturned again ??

    and the solution u provided is working

    I just want to know how did u found the answer how did u know that the problem is in the naming of the folder

Viewing 15 replies - 1 through 15 (of 17 total)
  • You must be logged in to reply to this topic.