Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • iainmac Friend
    #159497

    I have moved servers and I am now getting the following error having set up the php.in files.

    PHP Parse error: syntax error, unexpected ‘,’ in /home/cliff/public_html/modules/mod_janews_fp/helpers/adapter/php.ini on line 126, which says

    —–
    Allow the <? tag.

    Can anyone suggest a solution?
    Thanks for your assistance.

    John Wesley Brett Moderator
    #374377

    Do you have a URL you can share?
    First of all, since your site was presumably working before the server switch, I’m doubting it is actually a syntax error.

    So….let’s go to SITES > GLOBAL CONFIGURATION > SERVER
    And change the “Error Reporting” to “Maximum” temporarily.
    This should spit out more error codes making diagnosing much easier.

    iainmac Friend
    #374379

    Thanks, I have set the reporting to maximum. The site is in a protected directory so I will pm you the details.

    Thanks again

    jeffrey77 Friend
    #374384

    do you have any artical published in that module? if no any artical published, it will generate some php error message.

    iainmac Friend
    #374388

    Yes, there are articles published. What happened is that I moved servers and the site was fine thereafter. I use JoomlaLMS in the site so needed to increase the upload size which meant that in a cpanel server adding php.ini files into all the directories. Immediately after this the site was OK and the files were uploading but today the site wont load at all, and I am just seeing a blank page and the logs show that there is some confict that is preventing it loading.

    This issue is well outside my area of expertise, so thanks for your assistance.

    iainmac Friend
    #374405

    Hi jbrett
    The site is bck up again but I havent changed anything nor has my server team, so I’m not sure whether you have done something to fix this, following my pm?
    Thanks

    splico123 Friend
    #374416

    Just a thought. Maybe you had T3assets dir there with old cache which would be obsolete on new server and might have given you trouble. That happened to some of my customers. So i would suggest clearing and manually deleting all old cache dirs to see if it fixes itself.

    iainmac Friend
    #374423

    Thanks for your suggestion, splico123.
    One of the great things about the Joomlart community is how folk like you offer assistance to folk like me, when we are in trouble.

    The issue was resolved and hopefully it may help someone else in the future. In the process of setting up the php.ini files to resolve another issue I was having with upload file sizes, php.ini files were placed in various directories. One was placed in the modules/mod_janews_fp/helpers/adapter/ directory and this was the source of all the trouble. We went back to the global php.ini file on the server and made changes there which no longer require the php.ini files in directories.

    Thanks to everyone who offered assistance on this issue which was much appreciated.

Viewing 8 posts - 1 through 8 (of 8 total)

This topic contains 8 replies, has 4 voices, and was last updated by  iainmac 13 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum