Jump to content

Jyoti Rani

Clients
  • Posts

    76
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by Jyoti Rani

  1. 20 hours ago, teraßyte said:

    Not really sure what you're asking here. Could you clarify? With an example maybe.

    In version 3.6

    Under Pages, i can create new pages using html tag and php tags.

     

    In version 4.7

    When i am trying to add content for a page in PHP tag (<?php ). It starts throeing error 

     

    ParseError: syntax error, unexpected string content "", expecting "-" or identifier or variable or number in system/Theme/Theme.php(4628) : eval()'d code:17
    Stack trace:
    applications/cms/sources/Pages/Page.php(1278): IPS\_Theme::runProcessFunction('\tfunction conte...', 'content_pages_9')
    #1/applications/cms/sources/Pages/Page.php(2308): IPS\cms\Pages\_Page->getHtmlContent()
    #2 /applications/cms/modules/front/pages/page.php(116): IPS\cms\Pages\_Page->output()
    #3 /applications/cms/modules/front/pages/page.php(43): IPS\cms\modules\front\pages\_page->view()
    #4/system/Dispatcher/Controller.php(118): IPS\cms\modules\front\pages\_page->manage()
    #5/applications/cms/modules/front/pages/page.php(33): IPS\Dispatcher\_Controller->execute()
    #6/system/Dispatcher/Dispatcher.php(153): IPS\cms\modules\front\pages\_page->execute()
    #7 /index.php(13): IPS\_Dispatcher->run()
    #8 {main}

    2 minutes ago, Jyoti Rani said:

    In version 3.6

    Under Pages, i can create new pages using html tag and php tags.

     

    In version 4.7

    When i am trying to add content for a page in PHP tag (<?php ). It starts throeing error 

     

    ParseError: syntax error, unexpected string content "", expecting "-" or identifier or variable or number in system/Theme/Theme.php(4628) : eval()'d code:17
    Stack trace:
    applications/cms/sources/Pages/Page.php(1278): IPS\_Theme::runProcessFunction('\tfunction conte...', 'content_pages_9')
    #1/applications/cms/sources/Pages/Page.php(2308): IPS\cms\Pages\_Page->getHtmlContent()
    #2 /applications/cms/modules/front/pages/page.php(116): IPS\cms\Pages\_Page->output()
    #3 /applications/cms/modules/front/pages/page.php(43): IPS\cms\modules\front\pages\_page->view()
    #4/system/Dispatcher/Controller.php(118): IPS\cms\modules\front\pages\_page->manage()
    #5/applications/cms/modules/front/pages/page.php(33): IPS\Dispatcher\_Controller->execute()
    #6/system/Dispatcher/Dispatcher.php(153): IPS\cms\modules\front\pages\_page->execute()
    #7 /index.php(13): IPS\_Dispatcher->run()
    #8 {main}

    in Theme.php line of code are

                if( eval( $function ) === FALSE )
                {
                    /* Throw exception for PHP 5 */
                    throw new \InvalidArgumentException;
                }

  2. 1 hour ago, Jyoti Rani said:

    Could contain: Page, Text, File

     

    I uploaded new folder, above files are present but its not reading them. I also tried with different combination of permissions but no luck. Please suggest something.

    I also delete the specific folder and reuploaded that too.

     

    Just now, Marc Stridgen said:

    This can only really be that the files are different for some reason. Are they perhaps being deleted by something on your server after upload?

    not its not deleted. I got the fresh copy of invisioncomunity from my client and uploaded missed folder i.e. convert to the location/path which is specified by the upgrade process.

  3. 14 hours ago, Marc Stridgen said:

    We wouldnt provide a tool for uploading items to your server for a manual upgrade process

    Thanks for your reply. Marc.

    12 hours ago, Miss_B said:

    What precisely would be a great help to you? Any changes to the dataabse tables structure will be taken care of automatically by the upgrader, as mentioned above. 

    I understand your point, I gone through the document and done the steps locally as suggested there.

    16 hours ago, Richard Arch said:

    There's nothing I can add to what is described in the guide on how to do it.  Do you have a specific question relating to it?

     

    No, the manual method is the way to go.

    Not sure what you are asking about the tables but the upgrade process will sort the tables out.

    Thanks Richard. Your guidance helped a  lot.

  4. 4 hours ago, Richard Arch said:

    Its worth reading this guide first, you need to carryout the "Manual Upgrade".  Also have a read of the "Unsupported Legacy upgrades to Invision Community" section fyi.

     

    Take a backup of your test environment both files and database in case you need to repeat the steps.

    Run the compatibility checker, it should complain about your php version.

    Disable all 3rd party applications, plugins, themes.

    Switch php to version 8 or 8.1, run the compatibility checker again. Everything should ok now.

    Overwrite all the files with the new package as described in the manual install.

    You may need to clear cache from your ACP Support area afterwards.

     

    Thanks for your replies Richard.

    Can you please guide me through the manual upgrade process? 

    Does invision provide any tool for this? 

    Any help regarding previous table structure and the new table structure understanding document will be of great help to me.

  5. 20 hours ago, Richard Arch said:

    No, don't change the live license key.  You are allowed one test installation which will be your subdomain.  Once you get it working, if there is a license violation it will warn you and you can correct it.

    More info here.

     

    I m able to run my beta version now. But the issue is its version3.4 and i have to upgrade to 4.7.12 and i can see the option to upgrade on this version. Can u please guide?

  6. 21 minutes ago, Richard Arch said:

    I'd keep working on getting your v3.x to work on the subdomain.  When you ran the Requirements Checker 4.x (from above) it should fail as you need to be using php5 to get v3 running.  I would double check this.

    You may also need to disable those hooks for the v4 upgrade to work.  You could temporary disable them in your live site and take another copy to practice with.

    Richard, Thanks for the inputs. I rechecked php version on the server. Its php 5.6.40. 

    sub domain url. I also cross checked it.

    You may also need to disable those hooks for the v4 upgrade to work.  You could temporary disable them in your live site and take another copy to practice with. - Will try with it again as you advised.

    Another query here is - If i change the existing license key in the system will it affect the system?

  7. 2 hours ago, Richard Arch said:

    Did you get your v3.x working on the subdomain using php 5?

    Do you have any 3rd party applications / themes installed?  As the chances are they may not be compatible with v4 or php 8, these will all need to be disabled before the upgrade.

    Did you get your v3.x working on the subdomain using php 5? - No. This is the main concern. If it had worked for me, then i can apply the upgrade process.

    Do you have any 3rd party applications / themes installed?  As the chances are they may not be compatible with v4 or php 8, these will all need to be disabled before the upgrade. - No, we have 2 hooks which are created manually only.

  8. 18 hours ago, Richard Arch said:

    Your doing it the way I would, as in upgrading a copy of my live site first to document all the steps and test it.  To get you your test v3.x to work on your subdomain you will need to switch PHP back to v5.6 as Nathan advised.

    The other way which may work, as you are on PHP v8, is to overwrite the files on your subdomain with your v4.x files and run the upgrade manually.  Be sure to have a backup of both files and database first so that you can revert should something go wrong.

    Thanks for your reply Richard. But its not working in any of the manner.

    On Server using subdomain, i have done the things as suggested by you. But on server its not working either.

    Latest version replacement on local with new version files is not going well. Because the folder structure has been changed in version 4.x.

    Is there any other way to do so? Please suggest.

     

     

  9. 22 minutes ago, Richard Arch said:

    I assume you are trying to get your v3.x working on the subdomain first, then work through the steps to upgrade to v4.x.  Remember that v3.x requires PHP v7.  Later during your upgrade you will need to switch to PHP v8.

    Yes, you are assuming right. I m trying to get the v3.x first. Because if i run the file 

    admin/upgrade/index.php which is in v3.x can not be run in php version 8.

    Can you suggest me any other way to do the upgrade on the server. 

    I am doing this in correct way?

    I can run upgrade on live server. But the issue with me is this, i am not able to setup the live site on my local system. Due to which if i ran the upgrade on live server all the data and their existing relation of v3.x cant be recovered back. Any document or any other help would be appreciated a lot from you guys.

  10. 9 minutes ago, Richard Arch said:

    Have you updated your conf_global.php to reflect the change? - Yes, i changed the domain name and sql database configuration. below variables has been changed.

    $INFO['board_url']

    $INFO['sql_driver']           
    $INFO['sql_host']          
    $INFO['sql_database']   
    $INFO['sql_user']          
    $INFO['sql_pass']    

    Do, i need to change anything else also ?

     

     

  11. 15 minutes ago, Marc Stridgen said:

    Its worth nothing that we have not provided that version or even supported it for over a decade also

    I m not saying that you guys have not provided support for this. But I am facing issue in upgrading my current site.

     

    I have older version of the site. Some file are encrypted. I don't have their original script. So, i cant set it up on my local machine.

     

    So, i was thinking that, if i can setup older version on my local and get the things done. 

    The Only solution left with me is to bring live site down. and Need to upgrade on live. Which is not the correct way. As you guys are not supporting the older versions now. There is possibility that i loose up ending my live site down. And i loose my clients.

    Can you suggest me some ways or scenarios to do so?

    Can invision provide same license to be run on dev enviornment?

    2 hours ago, Randy Calvert said:

    IPS does not make old versions available.  Only the latest versions of the software can be downloaded. 

    They should provide the older version for exceptional cases. As and my client is facing rite now.

    Not sure how to do this? Any suggestions will be of great help to me.

  12. 10 minutes ago, Marc Stridgen said:

    As mentioned, we no longer provide support for that version unfortunately. Looking at that though, it doesnt look like you are trying to run the upgrader, or have uploaded the files yet.

    Actually I am not understanding how to upgrade the invision community which is integrated in another project. separately I had installed the latest invision community project but I want to upgrade where it has been integrated

  13. 3 hours ago, Marc Stridgen said:

    You would need to do a manual upgrade. It does need to be mentioned, we no longer support this, so if you are unsure, it may be best to get assistance. However if you want to take a look yourself, the process is

    1. Backup fully
    2. Upload a fresh set of files
    3. Upgrade your server to PHP 8
    4. Ensure things match the requirements checker - https://invisioncommunity.com/files/file/7046-invision-community-requirements-checker/
    5. Run the upgrader from /admin/upgrade

     

    I follow this steps, then few fatal errors get occurred which I am not able to solve. Please have a look in a screenshot where it shows an error where we can't do anything.  

    Could contain: Page, Text, File

    Could contain: Text, Page, Letter

×
×
  • Create New...