OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



redirection error on the live server

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

redirection error on the live server

Postby hazman » Thu Apr 05, 2007 4:35 pm

Hi,

I am having a redirection error on the live server, where I am currently going to host this system.

On the development pc (which is on my laptop), I am able to instal and it is working perfectly fine.

I am trying to upload the file (raw, and following the instruction) and but it seems the redirection to the install url fail. On firefox (browsers), the error prompts out:
"The page isn't redirecting properly:

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

*This problem can sometimes be caused by disabling or refusing to accept cookies."


and on IE 7, it just trying to keep loading.

The real url is sitting on this address: http://hazman.e-joi.com/scholarkita/

I need help. Can anybody advise me where I have gone wrong?
hazman
 
Posts: 3
Joined: Thu Apr 05, 2007 4:02 pm
Location: Singapore

Postby asmecher » Thu Apr 05, 2007 4:44 pm

Hi Hazman,

Sounds like your web server/PHP setup doesn't support path_info URLs. Try turning on the disable_path_info setting in your config.inc.php file.

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 9089
Joined: Wed Aug 10, 2005 12:56 pm

thank now it work, but stop at the installation page

Postby hazman » Fri Apr 06, 2007 4:18 pm

Hi Alec,

Thanks, it works. I have turn on the setting in your config.inc.php file, under the ojs folder (did that right?).

But, the process of installation stop there. can see like I am unable to create automatically using this automatic installation.

On the other hand my laptop, I am able to.

Any advise, Alec?

Thanks, Alec,

Hazman Aziz,
http://www.ntu.edu.sg/home/nurhazman
http://hazman.e-joi.com/myspace
hazman
 
Posts: 3
Joined: Thu Apr 05, 2007 4:02 pm
Location: Singapore

Postby asmecher » Sat Apr 07, 2007 9:34 am

Hi Hazman,

Could you describe what happens when you attempt to install? If you're seeing a blank screen, one common problem is an insufficiently high memory_limit setting in php.ini. The default of 8M isn't enough; try 12M or 16M. If you change a setting in php.ini, you'll probably have to restart your web server for it to take effect.

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 9089
Joined: Wed Aug 10, 2005 12:56 pm

It's point back to the installation file

Postby hazman » Sat Apr 07, 2007 5:59 pm

Alec,

When I click install, the site point be back to the installation page, without any error give.

For example, if there is an error, such as fail to connect to the database, it should appear or wrong id or password.

This time, it just point be back to the installation page.

With regards to the memory_limit setting in php.ini. I am not to sure. I have to check with my server admin. But, currently, on my server, I am hosting more than one php applications also I am share 1 database to a number of application. ( I am aware it is unhealthy, but kinda of constraint in resources and have to work around it but giving a unquie table prefix).

Thanks,

Regards,
Hazman Aziz
hazman
 
Posts: 3
Joined: Thu Apr 05, 2007 4:02 pm
Location: Singapore

Postby asmecher » Sun Apr 08, 2007 1:41 pm

Hi Hazman,

Typically a blank page indicates that a PHP error occurred; most servers are configured not to display error messages, however, so they're usually logged in an error log somewhere on your system (depending on its configuration) and the user only sees a blank screen.

The easiest way to find out what error is occurring is to add the following near the top of OJS's index.php:
Code: Select all
ini_set('display_errors', E_ALL);
...making sure not to put it into a comment block. This will cause errors to be displayed to the browser, but it's not recommended for a production server, so once you've debugged, return index.php to its former state.

OJS does have appropriate error messages for most situations -- but some, like file permissions problems and out of memory situations, are handled by PHP.

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 9089
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot], ctgraham and 6 guests