Jump to content

PHPVMS 5.5


RuiMiguel

Recommended Posts

Hello,

I have this error in the front page

Warning: file_exists(): File name is longer than the maximum allowed path length on this platform (4096): /home/airacor9/public_html//lib/skins/acores/ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>AirAçores Virtual </title> <!-- **Favicon** --> <link href="favicon.ico" rel="shortcut icon" type="image/x-icon" /> <!-- **CSS - stylesheets** --> <link id="default-css" href="http://www.airacores.com/lib/skins/acores/dist/style.css" rel="stylesheet" type="text/css" media="all" /> <link id="skin-css" href="http://www.airacores.com/lib/skins/acores/dist/skins/blue.css" rel="stylesheet" type="text in /home/airacor9/public_html/core/classes/TemplateSet.class.php on line 118

someone help me?

Regards

Rui Miguel

Link to comment
Share on other sites

  • 1 month later...

Why is it since i've installed 5.5 all I get is a load of error messages, the site skin won't work with a .php extension and even the default crystal skin has issues, nobody else seems to have these issues and seems to have been a straight forward swap out from one to another, ours just doesnt work any ideas from the guys in the know appreciated probably missing something blatently obvious but we all have blonde days, any help appreciated to get the site working again,

www.dhlvirtualcargo.co.uk

Link to comment
Share on other sites

Why is it since i've installed 5.5 all I get is a load of error messages, the site skin won't work with a .php extension and even the default crystal skin has issues, nobody else seems to have these issues and seems to have been a straight forward swap out from one to another, ours just doesnt work any ideas from the guys in the know appreciated probably missing something blatently obvious but we all have blonde days, any help appreciated to get the site working again,

www.dhlvirtualcargo.co.uk

My best guess is that you have somewhere an .tpl file that's messing up your installation.

I recommend to download the latest stable version on GitHub as giving above.

If you already have the latest version try to compare the green lines given in the files on GitHub with your own files.

If nothing helps try to install this skin and see what happens: http://forum.phpvms.net/topic/21644-ccv1-freshworks-phpvms-skin/

Link to comment
Share on other sites

My best guess is that you have somewhere an .tpl file that's messing up your installation.

I recommend to download the latest stable version on GitHub as giving above.

If you already have the latest version try to compare the green lines given in the files on GitHub with your own files.

If nothing helps try to install this skin and see what happens: http://forum.phpvms....ks-phpvms-skin/

Many thanks for your help I think I am making some progress i've actually found an old post of yours which relates to the same issue with errors but no solution posted and I was wondering how you over came it, There is data in the database but the errors remain (still using default crystal skin for now):

Warning: file_exists(): File name is longer than the maximum allowed path length on this platform (4096): /customers/2/a/5/dhlvirtualcargo.co.uk/httpd.www//lib/skins/crystal/

< in /customers/2/a/5/dhlvirtualcargo.co.uk/httpd.www/core/classes/TemplateSet.class.php on line 118

These errors remain regardless of which skin is selected and varies between skin where it appears.

Many thanks for the assistance I will get it back working at some point lol

Link to comment
Share on other sites

p.s I have installed the stable version from scratch no .tpl's are left, I know it's kind of ironic that one of the post links above i've commented on back in 2012 but it seems that is no longer the solution anymore just goes to show what worked then doesn't work now in 2015,

Link to comment
Share on other sites

Hi Colin,

I apologize that I didn't mentioned the solution in the previous post somehow I just forgot it.

What I did to solve the problem was a change in my php configuration.

With php 5.5 I got many error's and could solved it with a work around in the TemplateSet.class.php and changed this area

"public function show($tpl_name, $checkskin=true, $force_base=false)

{

return $this->ShowTemplate($tpl_name, $checkskin, $force_base);

}

to true, but I have to set it back each time I want to make a change in the VA, so that was not an option.

The second and final solution I did was simply upgrading my php configuration from 5.5 to 5.6 (C-panel).

This solved my problem for good.

c-panel_zpsbxuhomv8.jpg

Link to comment
Share on other sites

Hi thanks for your reply it's great there are still active forum members willing to help a guy in need.

I've changed the php to 5.6 in cpanel and also edited the TemplateSet.class.php to no success the irratating error still occurs.There is one thing I forgot to mention but not sure if it's relevant the Pirep,Pilots,Schedules have all been restored from an SQL back up, I'm not sure if this would result in the errors as it's populating the database information with no problems, Just exploring every possibility this is annoying me now lol.

file_exists(): File name is longer than the maximum allowed path length on this platform (4096): /customers/2/a/5/dhlvirtualcargo.co.uk/httpd.www//lib/skins/crystal/

< in /customers/2/a/5/dhlvirtualcargo.co.uk/httpd.www/core/classes/TemplateSet.class.php on line 118

Thanks again for the help,

Col

post-3200-0-90068000-1431967057_thumb.jpg

Link to comment
Share on other sites

Hm strange but we don't give up.

I'm not really an expert but I will do what I can to help.

What happens if you upload a fresh crystal folder to your VA, maybe something within the main folder is messed up.

Further I recommend these guys http://forums.phpfreaks.com/

They are really good with a lot of stuff and helped me more then once.

I really want to help you out but have to be careful that I don't mess up your VA.

The guys mentioned above did also recommend me to upgrade to 5.6. so maybe there's your best shot with this.

I will follow this treat and try to find solutions others ways I see ya with the freaks lol.

Link to comment
Share on other sites

  • Administrators

I have tried to go back and compare the differences between pages that work correctly and those that don't on your site. The only commonality I can find is that the page title is not defined in the controller of the pages that you are having issues with. Can you try opening up /core/modules/Pilots/Pilots.php and add in the command to the top and see if the error goes away for the pilot roster page?

Existing should be

class Pilots extends CodonModule
{

  /**
  * Pilots::index()
  *
  * @return
  */
  public function index()
  {

add the title into the class like below

class Pilots extends CodonModule
{
  public $title = 'Pilots';

  /**
  * Pilots::index()
  *
  * @return
  */
  public function index()
  {

Link to comment
Share on other sites

  • 1 year later...
  • Members

mportant Issue 2

[This issue was added on 11/12/14 at 10:01 PM]

Seeming to be a prevalent issue, the bids page will lead to these errors when clicking add bid:

Strict Standards: Accessing static property Schedules::$get as non static (etc.)

Strict Standards: Non-static method SchedulesData::setBidOnSchedule() should not be called statically (etc.)

Bid added

Note that I specifically noted that there was a "Bid added" message at the end of the errors. This shows us there were just some errors, but the function went through and it still echoed success. To fix this, let's navigate to the directory /core/modules/Schedules from the phpVMS root directory. Open schedules.php. After the opening PHP tag, input this code:

ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);

ini_set('display_errors','off');

Save and refresh the page, and your results should be a success in bidding a flight. Entry #13 will help you as well in this topic.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...